Diverts are server-side configurations that allow to transparently route messages from one queue to another.
Diverts can be of the following two types:
In our example we will do something more; we will route messages from a queue on a HornetQ node to another queue on another target node. To divert our messages from one instance to another, we will create a JMS bridge between the two instances.
Bridges are logical software applications that allow us to connect to HornetQ instances so that it is possible to consume a message from a source queue or topic and then send them to a target queue or topic on another server.
Bridges are resilient to source or destination unavailability so they can be used specifically on a World Area Network (WAN).
The...