Destination Bridges
Ø An application can
process messages so that they are sent multiple times to the required
destinations. However, such processing requires significant coding effort in
the application.
Ø EMS provides a
server-based solution to this problem. You can create bridges between
destinations so that messages sent to one destination are also delivered to all
bridged destinations.
Ø Bridges are created
between one destination and one or more other destinations of the same or of
different types. That is, you can create a bridge from a topic to a queue or
from a queue to a topic. You can also create a bridge between one destination
and multiple destinations. For example, you can create a bridge from topic a.b
to queue q.b and topic a.c.
Ø Specify a bridge on
topic foo.* to queue foo.queue, messages delivered to any topic matching foo.*
are sent to foo.queue.
Ø When a bridge exists
between two queues, the message is delivered to both queues. The queues operate
independently; if the message is retrieved from one queue, which has no effect
on the status of the message in the second queue.
Ø Creating a Bridge: Bridges
are configured in the bridges.conf configuration file.
Comments
Post a Comment