activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frank_at_zynga <>
Subject Re: Transacted Messages Not Committed
Date Wed, 28 Jan 2009 21:48:31 GMT

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

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]

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message