anonymous wrote : new
InitialContext().lookup("java:comp/env/jms/vpoToEmotiveQueue");
It depends on where you are doing the lookup using the InitialContext. Is this being done
in the same bean where the @Resource is defined? In which case, this should work. However,
if you are doing the lookup in some other component of your application, then this wont
work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129392#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...