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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...