[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple mail sessions
PeterJ
do-not-reply at jboss.com
Thu Oct 2 10:28:05 EDT 2008
To create a second mail service, try this. Copy mail-service.xml as mail2.service.xml (any name ending in -service.xml will work). Change the mbean name and the JNDIName. Example:
<mbean code="org.jboss.mail.MailService"
| name="jboss:service=Mail2">
| <attribute name="JNDIName">java:/Mail2</attribute>
| ...
| </mbean>
Alternately, you could place the above mbean declaration in the existing mail-service.xml file.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180044#4180044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180044
More information about the jboss-user
mailing list