Just FYI for any forum users, Gary has correctly identified the issue as
being one with my code.  I have an abstract class that the single threaded
consumers subclass and which handles the creation of the connection and the
session.  In this class I had static variables for the connection and
session which resulted in the session being shared across threads, obviously
a no-no as sessions need to be in a single thread context.  The simple
solution was to make these class instance variables and that solved the
problem.

Thanks Gary.


frank_at_zynga wrote:
> 
> Hi Gary,
> 
> I've entered this in JIRA under Test Cases.  The title is "Transacted
> Messages not Committed".
> 
> Thanks,
> -Frank
>   
> 
> Gary Tully wrote:
>> 
>> Hi Frank,
>> it is great to have a test case. Could you create a jira issue[1] for
>> this and attach your tests case with the ASF license grant. In that
>> way we can use your test case in the activemq test suite to ensure
>> this issue stays fixed when it is resolved.
>> 
>> Thanks,
>> Gary.
>> 
>> [1] https://issues.apache.org/activemq/browse/AMQ
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Transacted-Messages-Not-Committed-tp21615994p21715772.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to