Followers

Wednesday, October 21, 2015

Difference between messaging bridge and foreign JMS server

Both of the messaging bridge and the foreign JMS server allow you to receive/send messages via a WLS server to a JMS destination that is running on a remote WLS server/cluster/domain or a 3rd party messaging product.

The differences are:
1. Messaging bridge is sort of a store-and-forward solution; messages are stored in the source destination and are forwarded to the target destination, while foreign JMS server directly accesses the remote destination.

2. Messaging bridge introduces one extra hop; messages are sent to and stored in a destination (source destination) and forwarded to another destination (target destination), while foreign JMS server directly accesses the remote destination;

3. Usually one messaging bridge is used in single direction; applications send messages to the source destination and receive messages from the target destination, while foreign jms server is bi-directional; application can send and receive from the same foreign JMS destination.

If you don't need store-and-forward capability, Foreign JMS server is more desirable and easy to configure. You may consider use the messaging bridge if you need to handle disconnected case, say you want to be able to send messages when the remote destination is down. If both local and remote servers are WLS 9.0 and later, you could also consider using store-and-forward feature, instead of the messaging bridge.