[jboss-user] [JBossMQ] - How to use @Resource to inject a queue into a SessionBean?

MarcusDidiusFalco do-not-reply at jboss.com
Thu Jul 31 03:56:30 EDT 2008


I have queue bound under:

  | Global JNDI Namespace
  | ...
  | +- queue (class: org.jnp.interfaces.NamingContext)
  |   ....
  |   |   +- BafoegResponseQueue (class: org.jboss.mq.SpyQueue)
  | 

How do I inject this queue into a Stateless Session Bean using the @Resource annotation?

Thanks,

Hans

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167817



More information about the jboss-user mailing list