jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: JMS Support for DI

From: Clebert Suconic <clebert.suconic_at_gmail.com>
Date: Tue, 25 Oct 2011 13:36:38 -0500

Just fixing a typo on my previous email.. it got a bit not clear because of
the typo:


For Request-Response, we could have createconsumer and createProducer on the
super class for this new Producer and Consumer, so objects created manually
outside of this new annotation would be part of the same *transaction
context*.


Consumer consumer = producer.createProducer();


Producer and Consumer would extend AbstractSession


It's different I know... this is pure brainstorm. I'm just looking for a
way to have multiple objects as part of the same local Transaction when
outside of EE.