In your first code snippet you're using annotations to get the reference to the 
queue: @Resource(mappedName="queue/A") Queue queue;

In the second you're using a JNDI lookup.

I've not used annotations to do this sort of thing so don't know much about how 
that's supposed to work, but that appears to be the difference.

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

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

Reply via email to