Re: Messages rollback

2009-02-17 Thread Roger Hoover
Do you know what the approximate overhead is for using a transaction for each message received? On Tue, Feb 17, 2009 at 1:40 AM, Dejan Bosanac wrote: > Hi, > > there have been some fixes in this area (transaction aborting) for the 5.3, > so may want to try 5.3-SNAPSHOT and see if it works for yo

Re: Messages rollback

2009-02-17 Thread Dejan Bosanac
Hi, there have been some fixes in this area (transaction aborting) for the 5.3, so may want to try 5.3-SNAPSHOT and see if it works for you http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/5.3-SNAPSHOT/ I've also documented it a bit (with a working example

Re: Messages rollback

2009-02-13 Thread jzhang1
Thanks very much for AMQ CPP. Our legacy system using the stomp library from http://stomp.codehaus.org and write stomp frame to socket directly. The impls of commit and abort are "COMMIT" and "ABORT" in the stomp frame header. With regards to "ABORT", the message acknowledge are abort and M

Re: Messages rollback

2009-02-13 Thread Dave Stanley
Yes - it looks like there was a bug fixed in the transaction support [1] so you would need the 2.2 release [2] of the C++ API for the transacted session capabilities. [1] http://issues.apache.org/activemq/browse/AMQCPP-174 [2] http://activemq.apache.org/cms/activemq-cpp-22-release.html Regards /D

Re: Messages rollback

2009-02-12 Thread jzhang1
Thanks very much for the information. For the C/C++ sender and receiver, does stomp provide the similar functionality as JMS session ? Dave Stanley wrote: > > You can created a transacted jms session and either commit() or rollback() > that session. See: > http://svn.apache.org/viewvc/activ

Re: Messages rollback

2009-02-11 Thread Dave Stanley
You can created a transacted jms session and either commit() or rollback() that session. See: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java?view=markup Regards /Dave On Wed, Feb 11, 2009 at 8:45 PM, jzhang1 wrote: > >