• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Difference in Messaging Bridges and JMS Module

 
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/
 
Praful Thakare
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 98
Oracle Redhat
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks much Anandraj , that was very helpful.

Cheers
-Praful
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic