activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Murphy <>
Subject Re: Transactional Send Messages (NMS)
Date Tue, 03 Feb 2009 16:56:52 GMT
Essentially two phase commit.  We keep running into the problem where
our message are handled before the producer can commit it's
transaction to the database, therefore the consumer does not see the
correct data.  We currently work around this by either putting a sleep
delay at the beginning of the consumer (bad), or by sending the
messages after the transaction commit (lots of extra buggy code),
neither of which am I particularly happy with as a long term solution.


On Thu, Jan 29, 2009 at 11:00 AM, Jim Gomes <> wrote:
> Hi Bryan,
> I'm not sure what you mean by participating inside a transaction.  Are you
> talking about implementing a two-phase commit extended transaction
> operation?  Or are you talking about using the transaction acknowledgment
> mode that is part of NMS?
> - Jim
> On Mon, Dec 29, 2008 at 3:02 PM, Bryan Murphy <> wrote:
>> Is there a way I can have the sending of messages to a message queue
>> participate inside a transaction while using C# and NMS?
>> Thanks,
>> Bryan

View raw message