[jboss-user] [JBoss Messaging] - How to provide the identity in the annotation for MDB?
JasonHsu
do-not-reply at jboss.com
Tue Jun 19 22:59:09 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=4055874#4055874
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055874
More information about the jboss-user
mailing list