activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
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 <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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message