Hi, your statements are globally correct
for spring that's different since you let spring manages it (with the same issues) *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/2/8 Harald Wellmann <hwellmann...@gmail.com> > It it safe to use SJMS or JMS in a Java EE 6 application? > > You are not supposed to start threads in Java EE, but (S)JMS uses > thread pools for consumers. Is it guaranteed that features like > resource or CDI injection, CDI scopes, JNDI lookup will work in these > these threads just the same as in a container-managed thread? > > Isn't it true that MDBs are the only official way to asynchronously > consume JMS messages in a Java EE application? Does SJMS have any > adapters for MDBs? > > (I'm mainly interested in SJMS, but I believe the same issues apply to > the Spring-based JMS component.) > > Best regards, > Harald >