You can run ActiveMQ in native mode - the broker runs in your application, and queues are created on the fly. You just need to add activemq.jar and run a few lines of code.
On the other hand, there is a Mockrunner library that supports JMS, although it was designed primarily for unit tests, not integration.
source share