[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-05 Thread [EMAIL PROTECTED]
Well you need to integrate them into Seam. Seam uses EJB3 interceptors to intercept all requests to MDB (and SLSB, SFSB) and wrap them in Seam's contexts etc. If you are just calling the object directly (which I think you are) you'll need to set up the contexts yourself. You can look at the

[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-05 Thread raoul.schmidiger
Hi Pete, No, it is not declared as a MDB. It is clear to me, that this is not the usual way to go. But what about thirdparty libs in general, well yes, that start off some threads and do callbacks on my code? I know it is not considered good practice but then again... @Stateful |

[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-04 Thread svadu
It may be generally a good practice to do the business logic in a session bean instead of using JPA directly in your MDB. However, this is currently a problem when your app is deployed with messages already in the queue: http://jira.jboss.org/jira/browse/JBSEAM-2286 View the original post :

[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-03 Thread [EMAIL PROTECTED]
And more importantly, is it declared as an MDB? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109782#4109782 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109782 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-03 Thread [EMAIL PROTECTED]
Post the code for your message listener impl. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109780#4109780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109780 ___ jboss-user