File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Difference in Messaging Bridges and JMS Module Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Difference in Messaging Bridges and JMS Module" Watch "Difference in Messaging Bridges and JMS Module" New topic
Author

Difference in Messaging Bridges and JMS Module

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
Hi,

What is the difference in setting up JMS using Messaging bridges and JMS Module?

I am using weblogic to communicate with IBM Websphere MQ, what should i use?
also is JCA option valid for this scenario? if yes how to do that in weblogic?

-Praful


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

JMS Modules are basically like containers that hold the JMS System Resources which include queues, topics, connection factories, templates, destination keys, quota, distributed queues, distributed topics.

A WebLogic messaging bridge is a forwarding mechanism between any two messaging products. It facilitates the message flow between two separate implementations of WebLogic JMS, or between WebLogic JMS and a another messaging product like IBM MQ Series.

You can use the Foreign JMS Feature of WebLogic Server to establish a connection between weblogic and WebSphere MQ.

Below is a very good read about the configuration.

http://weblogic-wonders.com/weblogic/2010/11/24/weblogic-foreign-jms-server-configuration-with-mq-series/

Regards,
Anandraj
http://weblogic-wonders.com/

Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
thanks for your reply Anandraj ,

may be i should have asked my question in more specific way, what i ment is there are two ways of accessing forigne MQ in weblogic

1) Using JMS Module, forigen queue (same that is metion in the link given by you)
2) Using Bridge

I want to know what is the difference and which one i recommened in my case where jms provider is Websphere MQ.

-Praful
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Hi Praful,

The major difference between the two approaches primarily is the way they behave.

With Foreign JMS Server, your applications act as direct clients of the remote JMS Server by looking upto the Connection Factories and JMS Destinations from a local domain to remote domain / third party JMS Provider.

One the other hand Message Bridge behaves like a Store and Forward Agent. A message bridge creates a pipe between a destination on the local JMS server, and another on the remote JMS server, so that any messages that are sent to the source destination are automatically forwarded to the target destination. In other words, your applications can indirectly interact with the remote JMS server through the configured message bridge.

Foreign JMS Server provides some additional benefits:

Since the Foreign Destinations are mapped to WebLogic JNDI tree, any message-driven bean (MDB) that you deploy to the server can simply reference the remote destination using its local JNDI name.

The below link provides more information about when to use Message Bridge.
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/faq/interop.html#268448

Cheers,
Anandraj
http://weblogic-wonders.com
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
Thanks much Anandraj , that was very helpful.

Cheers
-Praful
simha kolli
Greenhorn

Joined: Jul 23, 2013
Posts: 1
HI,
this is one of the links where JMS Bridge and SAF was explained very well.I could find some similarities and differences between both.
http://middlewaremagic.com/weblogic/?p=7969

Bridge:
1.It suppots interoperability and can be used between any two JMS implementaions.One with JMS weblogic and second can be any third party JMS Provider.supports the connectitivyt between any two versions of weblogic.
2.It uses two adapters whichy we need to configure while creating the source and target destinations.
One is XA based adapter which ensures exact-once delivery and eliminates duplicates.
second is JNDInoTX which will be used for at-least once delivery.

SAF on the other hand will be used in cases where there is possibility of network related issues and unavailability problems.SAF ensures guaranteed delivery as it stores the message on the local queue.

one area where i am confused is ,does JMS Bridge not store messages when the destination is not available?IF it stores,what is introduced as part of SAF feature?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference in Messaging Bridges and JMS Module