On Fri, 12 Jun 2015 06:56:42 -0600, Tim Bain
<tb...@alumni.duke.edu> wrote:

I was calling session.start() after calling session.stop().

If I change it to deleting and re-creating a session object the
message still disappears, but this time when I re-create the consumer
object (i.e. not when the session starts).

>Does restarting the session mean creating a new session object, or calling
>start() on the current one after calling stop()?  Is the behavior the same
>if you do it the other way?
>On Jun 12, 2015 4:30 AM, "spamtrap" <nospam.1.friedbad...@spamgourmet.com>
>wrote:
>
>> On Thu, 11 Jun 2015 14:01:16 -0600, Tim Bain
>> <tb...@alumni.duke.edu> wrote:
>>
>> >Confirm that step by step.  Are the messages still on the broker when the
>> >transaction rolls back?  Are they still on the broker when the client
>> >disconnects?  Wherever you lose them, the previous step is the one to
>> >investigate.
>>
>> I've now done this.  The message is still there when the transaction
>> rolls and and the broker disconnects.  It is still there when the
>> client disconnects.  It is still there when I create a new consumer.
>> It 'disappears' when I restart the session.  In the broker log I can
>> see an Acknowledgement at this time, but it wasn't done by me.
>>
>>
>>


Reply via email to