[jboss-user] [EJB 3.0] - How to provide the identity in the annotation for MDB?
JasonHsu
do-not-reply at jboss.com
Fri Jun 15 05:37:50 EDT 2007
I have a normal MDB defined like:
| @MessageDriven(activationConfig = {
| @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic")
| , at ActivationConfigProperty(propertyName="destination", propertyValue="/topic/testTopic")
| })
| 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
More information about the jboss-user
mailing list