activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
Subject how do you test rollback with an embedded broker?
Date Fri, 11 Sep 2015 23:14:44 GMT

For the life of me I can’t get this to work.

Basically I want to call rollback() so that a message is retries later.
This way if there’s a transient but like a database connection failing it
gets retried (but of course uses the retry policy).

The problem is that it just doesn’t work.

I tried creating too ‘clients’ whereby each has its own client ID.  That
doesn’t work either.

I went through the tests in ActiveMQ and didn’t see anything obvious
there.  I must be missing something super obvious….

Any thoughts?


Location: *San Francisco, CA*
… or check out my Google+ profile

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