« Return to Thread: stomp rollback

Re: stomp rollback

by Dejan Bosanac :: Rate this Message:

Reply to Author | View in Thread

Hi,

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:

upload again. file sub.c


jzhang1 wrote:
>
>  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.
>
>
>
> Brian McCallister wrote:
>>
>> On Sun, Feb 15, 2009 at 12:13 PM, jzhang1 <jian.zhang@...> wrote:
>>> http://www.nabble.com/file/p22065197/sub sub
>>> 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
>>
>>
>>
>>
>
>
http://www.nabble.com/file/p22065418/sub.c sub.c
--
View this message in context: http://www.nabble.com/stomp-rollback-tp21989462p22065418.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



Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net

 « Return to Thread: stomp rollback