[jboss-user] [Messaging, JMS & JBossMQ] - Re: Frustration with basic client and broken examples.

gcoleman do-not-reply at jboss.com
Tue Nov 7 07:02:43 EST 2006


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



More information about the jboss-user mailing list