activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Arnold <geoffrey.arn...@gmail.com>
Subject Re: Strategies for purging internal consumer queue
Date Fri, 16 Oct 2009 14:23:12 GMT
Thanks Gary.  Our Cucumber tests are really integration tests, so it  
would require a restart of the VM running the embedded broker.

Is there anyway to disable the internal queue?

On Oct 16, 2009, at 6:28 AM, Gary Tully wrote:

> I guess it is typical to use a new session per test unless it is the  
> session
> behavior that is under test?
>
> 2009/10/15 Geoffrey Arnold <geoffrey@geoffreyarnold.com>
>
>> Hi All,
>>
>> We are successfully using JMX to purge our queues in between our
>> Cucumber-based test scenarios, however this does not clear the  
>> session's
>> internal consumer queue.  This can cause messages which have been  
>> delivered
>> to the consumer's session but not yet consumed by the listener  
>> (perhaps
>> because of an initial delivery failure) to be redelivered in  
>> subsequent test
>> scenarios.
>>
>> What strategies are you using to purge (or completely disable) the  
>> internal
>> consumer queue?
>>
>> Thanks,
>> Geoff.
>>
>
>
>
> -- 
> http://blog.garytully.com
>
> Open Source Integration
> http://fusesource.com


Mime
View raw message