Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [EJB 3.0] - How to provide the identity in the
 annotation for MDB?

scott.stark@jboss.org

2007-06-15


I have a normal MDB defined like:

| @MessageDriven(activationConfig = {
|     @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic")
|    ,@(protected)")
|  })
| public class MyMdb implements MessageDrivenBean, MessageListener {
| ......
| }
|

It works fine with the default destination (on JBoss Messaging 1.3 GA). Now, I want to access a secured topic(remote) which has been set correctly if I use "testUser" and "testPassword" to access it locally (on remote box)

What's the keyword of the propertyName that I can specify the identity to my MDB? I've been searching around but can't any piece of information regarding this issue. Please help!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054667#4054667

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054667
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.