activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Strategies for purging internal consumer queue
Date Fri, 16 Oct 2009 10:28:58 GMT
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 <>

> 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.


Open Source Integration

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message