SlideShare a Scribd company logo
Configuring mule jms_withweblogicjms
Mule provides a JMS connector, which we could use to connect to WebLogic JMS
destinations.
In this example, we are going to connect to a WebLogic server 12C:
WebLogic Server IP: localhost
WebLogic Server port: 7001
WebLogic Server username: weblogic
WebLogic Server password: welcome1
with JMS queue details below:
JMS Server Name: JMSServer
JMS Module Name: SystemModule-0
JMS Queue Name: Queue-0
JMS Queue JNDI Name: jms/TestQueue
C o n f i g u r i n g M u l e J M S C o n n e c t o r w i t h W e b l o g i c J M S
Configure the connector
Mule provides a JMS connector and a WebLogic JMS connector, both can be used here:
<jms:connector name="JMS" username="weblogic" password="welcome1" validateConnections="true"
jndiInitialFactory="weblogic.jndi.WLInitialContextFactory" jndiProviderUrl="t3://localhost:7001"
connectionFactoryJndiName="myfactory" doc:name="JMS"/>
or
<jms:weblogic-connector name="Web_logic_JMS" username="weblogic" password="welcome1"
validateConnections="true" jndiInitialFactory="weblogic.jndi.WLInitialContextFactory"
jndiProviderUrl="t3://localhost:7001" connectionFactoryJndiName="myfactory" doc:name="Web logic
JMS"/>
Configure the endpoint
When configuring the JMS endpoint, we need to be careful on the name to use, because there are
2 ways to specify the name:
1) use JNDI name
To use JNDI name, we need to add a Spring property to the connector:
<jms:connector name="JMS" username="weblogic" password="welcome1" validateConnections="true"
jndiInitialFactory="weblogic.jndi.WLInitialContextFactory" jndiProviderUrl="t3://localhost:7001"
connectionFactoryJndiName="myfactory" doc:name="JMS">
<spring:property name="jndiDestinations" value="true"/>
</jms:connector>
or:
<jms:weblogic-connector name="Web_logic_JMS" username="weblogic" password="welcome1"
validateConnections="true" jndiInitialFactory="weblogic.jndi.WLInitialContextFactory"
jndiProviderUrl="t3://localhost:7001" connectionFactoryJndiName="myfactory" doc:name="Web logic
JMS">
<spring:property name="jndiDestinations" value="true"/>
</jms:weblogic-connector>
Then we can just use the JNDI name in endpoint:
<jms:inbound-endpoint queue="jms.TestQueue" connector-ref="Web_logic_JMS" doc:name="JMS"/>
Note: using '.' or '/' does NOT make a difference here. The following works too:
<jms:inbound-endpoint queue="jms/TestQueue" connector-ref="Web_logic_JMS" doc:name="JMS"/>
2) use complete WebLogic JMS name
By default, if nothing set, it's using name, and the format is:
JMS_Server_Name/JMS_ModuleName!JMS_Queue_Name, so in this case, it's:
<jms:inbound-endpoint queue="JMSServer/SystemModule-0!Queue-0" connector-
ref="Web_logic_JMS" doc:name="JMS"/>

More Related Content

KEY
httpd_proxy.rom
PPTX
WCF 4 Overview
PDF
Mediafacts 04 2009 Redactionele Automatisering Opmaak Voor Verandering April ...
PPTX
Cookie & Session In ASP.NET
KEY
Socket.io
PDF
Delivery Status Notification (Delay)
PPTX
PPTX
Jms queues
httpd_proxy.rom
WCF 4 Overview
Mediafacts 04 2009 Redactionele Automatisering Opmaak Voor Verandering April ...
Cookie & Session In ASP.NET
Socket.io
Delivery Status Notification (Delay)
Jms queues

Similar to Configuring mule jms_withweblogicjms (20)

PPTX
Mulesoft Basics and Connector Details
PPTX
Mule jms queues
PPTX
Jms queue
PPTX
Mulesoftconnectors
PDF
Mule soft jms
PPTX
M messaging 2
PPTX
Synchronous communication using jms back channel
PPTX
Mule JMS Transport
PPTX
Jms introduction
PPTX
Mule JMS transport
PPTX
How to use jms inbound endpoint
PPTX
Introduction java messaging services
PPT
Simple http and jms for beginners
PPTX
How to use jms outbound endpoint
PPTX
Connectors
PPTX
Mule WMQ connector
PPTX
Rest based api with jms as backend
PPTX
Mule connectors
PPTX
Mule with jms
Mulesoft Basics and Connector Details
Mule jms queues
Jms queue
Mulesoftconnectors
Mule soft jms
M messaging 2
Synchronous communication using jms back channel
Mule JMS Transport
Jms introduction
Mule JMS transport
How to use jms inbound endpoint
Introduction java messaging services
Simple http and jms for beginners
How to use jms outbound endpoint
Connectors
Mule WMQ connector
Rest based api with jms as backend
Mule connectors
Mule with jms
Ad

More from VenkataNaveen Kumar (7)

PPTX
Difference between cxf Proxy_and cxf_jaxws
PPTX
Munit_in_mule_naveen
PPTX
Types of MessageRouting in Mule
PPTX
Thread Management In Mule
PPTX
Java Components and their applicability in Mule Anypoint Studio
PPTX
Mule soft csv_toxml
PPTX
MuleSoft Anypoint Studio - Essentials - Data Filtering
Difference between cxf Proxy_and cxf_jaxws
Munit_in_mule_naveen
Types of MessageRouting in Mule
Thread Management In Mule
Java Components and their applicability in Mule Anypoint Studio
Mule soft csv_toxml
MuleSoft Anypoint Studio - Essentials - Data Filtering
Ad

Recently uploaded (20)

PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Introduction to Artificial Intelligence
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
assetexplorer- product-overview - presentation
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Nekopoi APK 2025 free lastest update
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
System and Network Administraation Chapter 3
Operating system designcfffgfgggggggvggggggggg
PTS Company Brochure 2025 (1).pdf.......
Reimagine Home Health with the Power of Agentic AI​
Introduction to Artificial Intelligence
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Design an Analysis of Algorithms I-SECS-1021-03
Softaken Excel to vCard Converter Software.pdf
Transform Your Business with a Software ERP System
wealthsignaloriginal-com-DS-text-... (1).pdf
L1 - Introduction to python Backend.pptx
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
assetexplorer- product-overview - presentation
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
CHAPTER 2 - PM Management and IT Context
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Nekopoi APK 2025 free lastest update
Understanding Forklifts - TECH EHS Solution
Wondershare Filmora 15 Crack With Activation Key [2025
Navsoft: AI-Powered Business Solutions & Custom Software Development
System and Network Administraation Chapter 3

Configuring mule jms_withweblogicjms

  • 2. Mule provides a JMS connector, which we could use to connect to WebLogic JMS destinations. In this example, we are going to connect to a WebLogic server 12C: WebLogic Server IP: localhost WebLogic Server port: 7001 WebLogic Server username: weblogic WebLogic Server password: welcome1 with JMS queue details below: JMS Server Name: JMSServer JMS Module Name: SystemModule-0 JMS Queue Name: Queue-0 JMS Queue JNDI Name: jms/TestQueue C o n f i g u r i n g M u l e J M S C o n n e c t o r w i t h W e b l o g i c J M S
  • 3. Configure the connector Mule provides a JMS connector and a WebLogic JMS connector, both can be used here: <jms:connector name="JMS" username="weblogic" password="welcome1" validateConnections="true" jndiInitialFactory="weblogic.jndi.WLInitialContextFactory" jndiProviderUrl="t3://localhost:7001" connectionFactoryJndiName="myfactory" doc:name="JMS"/> or <jms:weblogic-connector name="Web_logic_JMS" username="weblogic" password="welcome1" validateConnections="true" jndiInitialFactory="weblogic.jndi.WLInitialContextFactory" jndiProviderUrl="t3://localhost:7001" connectionFactoryJndiName="myfactory" doc:name="Web logic JMS"/>
  • 4. Configure the endpoint When configuring the JMS endpoint, we need to be careful on the name to use, because there are 2 ways to specify the name: 1) use JNDI name To use JNDI name, we need to add a Spring property to the connector: <jms:connector name="JMS" username="weblogic" password="welcome1" validateConnections="true" jndiInitialFactory="weblogic.jndi.WLInitialContextFactory" jndiProviderUrl="t3://localhost:7001" connectionFactoryJndiName="myfactory" doc:name="JMS"> <spring:property name="jndiDestinations" value="true"/> </jms:connector> or: <jms:weblogic-connector name="Web_logic_JMS" username="weblogic" password="welcome1" validateConnections="true" jndiInitialFactory="weblogic.jndi.WLInitialContextFactory" jndiProviderUrl="t3://localhost:7001" connectionFactoryJndiName="myfactory" doc:name="Web logic JMS"> <spring:property name="jndiDestinations" value="true"/> </jms:weblogic-connector>
  • 5. Then we can just use the JNDI name in endpoint: <jms:inbound-endpoint queue="jms.TestQueue" connector-ref="Web_logic_JMS" doc:name="JMS"/> Note: using '.' or '/' does NOT make a difference here. The following works too: <jms:inbound-endpoint queue="jms/TestQueue" connector-ref="Web_logic_JMS" doc:name="JMS"/> 2) use complete WebLogic JMS name By default, if nothing set, it's using name, and the format is: JMS_Server_Name/JMS_ModuleName!JMS_Queue_Name, so in this case, it's: <jms:inbound-endpoint queue="JMSServer/SystemModule-0!Queue-0" connector- ref="Web_logic_JMS" doc:name="JMS"/>