Search This Blog

Monday, 4 May 2015

8. Configuration of JMS Bridges in WebLogic on Xubuntu


We can configure the JMS bridge between two different JMS providers. Here the JMS provider could be a WebLogic Domain or it could be third party JMS provider such as IBM MQ series or IBM WebSphere, Apache Active MQ.

Through the TOPIC/QUEUE we can send the message and receive the messages but through them we cannot save the messages. Whenever the Destination is online the user can receive the messages. So to overcome this Bridges are used and with them we can store the messages and whenever the user is online then the user receives the messages.

Before configuring the Bridges we need to configure the JMS Servers and JMS modules and in Bridges we need to configure the JMS bridge source and target.

JMS Bridge configuration


Procedure for the configuration of the JMS servers.
Expand Services -> Select the JMS server

Prerequisites for Bridge configuration

Source
  • Connection URL : t3://JMS Destination Host:Port (may be cluster address or admin)
  • Connection Factory JNDI : jndi/hdfccf
  • JMS Destination JNDI : jndi/hdfct (topic)
Target
  • Connection URL : t3:// JMS Destination Host:Port (may be cluster address or admin)
  • Connection Factory JNDI : jndi/axiscf
  • JMS Destination JNDI : jndi/axist
Give the name and select the Adapter name as NoTX as we are configuring the Non XA transactions and give the source connection url and give the source connection factory name under Connection Factory JNDI name and source topic or queue in Destination JNDI Name.
The same process should be done for the destination also and this should be also be configured at the same server under which the source is configured.
Name can be configured as per requirement and select the Adapter JNDI name depending the XA or Non XA transactions and it should be observed that the destination URL is given and the destinations connection factory under connection factory JNDI name and destination topic or Queue under destination Jndi name.

JMS Bridge Source Configuration




JMS Bridge Target destination configuration


Configuring a Bridge
From the Message services select the Bridges expand it. Click new button if it is production you need to acquire the lock and then do this.
JMS Bridge configuration properties


Selection of Source in Bridge configuration


Select the Source destination as per the specification HDFC source and press Next button
Select the type of messaging Provider

JMS Destination Message provider for Source


JMS Target destination provider details select as WebLogic

JMS Bridge configuration Target destination

Select the destination messaging provider and select the messaging provider as WebLogic and if it is any other JMS providing server then select the other server.


JMS Bridge target configuration
Finally you need to target the JMS Bridge to cluster or admin server as per the project needs. Here is sample showing Admin server as target.

Select the server on to which the messaging bridge should be targeted. As we are in the non-production environment we are proceeding with the only Admin Server. In the real time process we need to target them on to the cluster for the better availability and better performance.

Final step of JMS Bridge configuration

Press the ‘Finish’ button

Monitoring Bridges
After the bridge has been created once we need to check the state and description (state should be active and description should be Forwarding messages state). Select the Bridges  select the created bridge and  select the monitoring tab and in this we can find the below screen shot.

JMS Bridge status monitoring

No comments:

Post a Comment

WebLogic Books

  • Oracle WebLogic Server 12c: Administration Handbook
  • WebLogic Diagnostic Framework
  • Advanced WebLogic Server Automation
  • Oracle SOA Suite 11g Administrator's Handbook

Popular Posts