You can created a transacted jms session and either commit() or rollback()
that session. See:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java?view=markup

Regards
/Dave

On Wed, Feb 11, 2009 at 8:45 PM, jzhang1 <jian.zh...@etrade.com> wrote:

>
> ActiveMQ guru,
>
> I am curious whether ActiveMQ broker provide backout
>
> all enqueue and dequeue functions calls that have occurred since the last
> syncpoint are to be backed out. Messages put as part of a unit of work are
> deleted; messages retrieved as part of a unit of work are reinstated on the
> queue.
>
> Thanks
>
> --
> View this message in context:
> http://www.nabble.com/Messages-rollback-tp21968419p21968419.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Reply via email to