activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Does KahaDB stores Unacknowledged messages. ?
Date Mon, 02 Dec 2013 15:27:36 GMT
On 12/02/2013 10:25 AM, barry.barnett@wellsfargo.com wrote:
> What if there is only 1 client.. then where does the message go?
>
> Regards,
>
> Barry Barnett
> WMQ Enterprise Services & Solutions
> Wells Fargo
> Cell: 704-564-5501
>
> -----Original Message-----
> From: Timothy Bish [mailto:tabish121@gmail.com]
> Sent: Monday, December 02, 2013 10:24 AM
> To: users@activemq.apache.org
> Subject: Re: Does KahaDB stores Unacknowledged messages. ?
>
> On 12/02/2013 10:10 AM, Sophia Wright wrote:
>> Hey,
>> I am using ClLIENT_ACK mode for my consumer. And explicitly
>> acknowledging the message. I just want to know that before
>> acknowledging the messages where are those messages kept ?
>> I mean to say, if I got some exception while processing the message
>> and not able to acknowledge the message, where it will be stored ? In
>> kahaDB or somewhere in broker's memory ?
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/Does-KahaDB-stores-Unacknowledge
>> d-messages-tp4674991.html Sent from the ActiveMQ - User mailing list
>> archive at Nabble.com.
>>
> If the message is sent with persistent option on the producer then it's stored in the
DB and delivered to the client, if the client fails to acknowledge it and goes down then it
will be redelivered to another client.
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@redhat.com | www.fusesource.com | www.redhat.com
> skype: tabish121 | twitter: @tabish121
> blog: http://timbish.blogspot.com/
>
>
If the client goes down without acking the message then it waits in the 
Queue for another consumer to connect just like any other message.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message