ActiveMQ is not a database, and attempting to use it as one will probably
result in poor performance. ActiveMQ is meant to be a means of transferring
messages from producer to consumer, and it's optimized for the case where
messages are consumed shortly after they're produced. If you try to consume
In our application we use guava eventbus along with activemq to implement
event based requirements between two web applications. Events are being
published and subscribed by different components of thw two web
applications. For receiving a message published by a component of a
different web applica