use of JTA user transaction in JMS listener
0 posts in topic
Flat View  Flat View

Posted By:   Li_Zhang
Posted On:   Friday, April 1, 2005 11:27 AM

Is it possible to use JTA user transaction in a JMS listener that is created by web context listener?

The J2EE spec says “JTA transactions should be started and completed in the thread in which the service method is called. Additional threads that are created for any purpose should not attempt to start JTA transactions.”

Does this mean I cannot use JTA user transaction in any thread that is not created by the container?



About | Sitemap | Contact