Select the Messages to Bridge
By default, all messages sent to a destination with a bridge are sent to all bridged destinations. This can cause unnecessary network traffic if each bridged destination is only interested in a subset of the messages sent to the original destination. You can optionally specify a message selector for each bridge to determine which messages are sent over that bridge.
Message selectors for bridged destinations are specified as the selector property on the bridge. The following is an example of specifying a selector on the bridges defined in the previous section:
[topic:A.B] queue=queue.B topic=C.B selector="urgency in(’medium’, ’high’)"
For detailed information about message selector syntax, see the documentation for the Message class in the relevant EMS API reference document.
Copyright © Cloud Software Group, Inc. All rights reserved.