Hi,

You can only inject managed classes and integer is not.
If you will do something like :


  | @Resource Queue stockInfoQueue; 
  | 
will work because this is a managed class. If you try to inejct a bean you 
shoud try the EJB adnotatin.



Regards,
M

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

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

Reply via email to