I've asked this question weeks ago but didn't get any reply. Please help!

I have a secured queue which was configured correctly since I can read the 
messages from a jms client by creating the connection with username/password .  
Now I need to have a MDB to read it.  I really don't know how to do it.  I have 
the following annotation in the MDB:


  | @MessageDriven(mappedName = "jms/QueueListner", activationConfig = {
  |             @ActivationConfigProperty(propertyName = "acknowledgeMode", 
propertyValue = "Auto-acknowledge")
  |             ,@ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue")
  |             ,@ActivationConfigProperty(propertyName="destination", 
propertyValue="/queue/test")
  |             ,@ActivationConfigProperty(propertyName="providerAdapterJNDI", 
propertyValue="java:/DefaultJMSProvider")
  | //          ,@ActivationConfigProperty(propertyName="user", 
propertyValue="qreader")
  | //          ,@ActivationConfigProperty(propertyName="pass", 
propertyValue="qpassword")
  | })
  | 
The two remarked lines were added by myself.  But I don't know the property 
name keywords of username/password.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068154
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to