|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
stomp rollbackstomp guru,
I use stomp to connect ActiveMQ. I am curious whether stomp provide backout. all enqueue and dequeue functions calls that have occurred since the last syncpoint are to be backed out. Messages put as part of a unit of work are deleted; messages retrieved as part of a unit of work are reinstated on the queue. I call stomp "abort", sleep seconds, then call receive. But i can not receive the backout messages unless I restart stomp connection. Thanks |
|
|
Re: stomp rollbackOn Thu, Feb 12, 2009 at 7:20 PM, jzhang1 <jian.zhang@...> wrote:
> > stomp guru, > > I use stomp to connect ActiveMQ. I am curious whether stomp provide backout. > > all enqueue and dequeue functions calls that have occurred since the last > syncpoint are to be backed out. Messages put as part of a unit of work are > deleted; messages retrieved as part of a unit of work are reinstated on the > queue. > > I call stomp "abort", sleep seconds, then call receive. But i can not > receive the backout messages unless I restart stomp connection. IIRC this is an old bug in ActiveMQ --- which version are you using? > > Thanks > > -- > View this message in context: http://www.nabble.com/stomp-rollback-tp21989462p21989462.html > Sent from the stomp - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: stomp rollbackI am using apache-activemq-5.2.0.
|
|
|
Re: stomp rollbackOn Sun, Feb 15, 2009 at 12:13 PM, jzhang1 <jian.zhang@...> wrote:
> > I am using apache-activemq-5.2.0. Certainly should be fixed there. I'd ask on the dev@... list -Brian > > > > Brian McCallister wrote: >> >> On Thu, Feb 12, 2009 at 7:20 PM, jzhang1 <jian.zhang@...> wrote: >>> >>> stomp guru, >>> >>> I use stomp to connect ActiveMQ. I am curious whether stomp provide >>> backout. >>> >>> all enqueue and dequeue functions calls that have occurred since the last >>> syncpoint are to be backed out. Messages put as part of a unit of work >>> are >>> deleted; messages retrieved as part of a unit of work are reinstated on >>> the >>> queue. >>> >>> I call stomp "abort", sleep seconds, then call receive. But i can not >>> receive the backout messages unless I restart stomp connection. >> >> IIRC this is an old bug in ActiveMQ --- which version are you using? >> >>> >>> Thanks >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/stomp-rollback-tp21989462p21989462.html >>> Sent from the stomp - user mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >> > > -- > View this message in context: http://www.nabble.com/stomp-rollback-tp21989462p22026926.html > Sent from the stomp - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: stomp rollbackHi,
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), so take a look at http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+do+I+unack+the+message+with+Stomp Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Sun, Feb 15, 2009 at 10:42 PM, Brian McCallister <brianm@...> wrote:
Dejan Bosanac
Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net |
|
|
Re: stomp rollback i uploaded the sample code. It is using stomp calls from https://svn.codehaus.org/stomp/trunk/c/. but could not receive pending aborted messages unless re-connect.
|
|
|
Re: stomp rollbackupload again. file sub.c
sub.c |
|
|
Re: stomp rollbackHi,
it seems that acking a message before a commit still creates this problem. I just reopened the original issue for this https://issues.apache.org/activemq/browse/AMQ-1807. Until it's fixed, try removing an ack of the message you want to abort and it should be working fine. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Feb 17, 2009 at 9:15 PM, jzhang1 <jian.zhang@...> wrote:
Dejan Bosanac
Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net |
| Free embeddable forum powered by Nabble | Forum Help |