SlideShare a Scribd company logo
How to use JMS Outbound
endpoint
14-05-2015
Abstract
โ€ข The main motto of this PPT is How to use JMS
outbound endpoint in our applications.
Introduction
โ€ข JMS (Java Message Service) is a widely-used
API for Message Oriented Middleware. It
allows communication between different
components of a distributed application to be
loosely coupled, reliable, and asynchronous.
Example
.mflow
โ€ข <?xml version="1.0" encoding="UTF-8"?>
โ€ข
โ€ข <mule xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
โ€ข xmlns:spring="http://www.springframework.org/schema/beans"
โ€ข xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
โ€ข xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-current.xsd
โ€ข http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
โ€ข http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd">
โ€ข <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8088" doc:name="HTTP
Listener Configuration"/>
โ€ข <jms:activemq-connector name="Active_MQ" brokerURL="tcp://localhost:61616" validateConnections="true"
doc:name="Active MQ"/>
โ€ข <flow name="readingjsonFlow">
โ€ข <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/>
โ€ข <logger message="--flow started" level="INFO" doc:name="Logger"/>
โ€ข <set-payload value="{ &quot;Address&quot;:{ &quot;Country&quot;:&quot;India&quot;,
&quot;State&quot;:&quot;AP&quot;, &quot;City&quot;:&quot;Rajhamundry&quot; } }" doc:name="Set Payload"/>
โ€ข <jms:outbound-endpoint queue="myqueue" connector-ref="Active_MQ" doc:name="JMS"/>
โ€ข </flow>
โ€ข </mule>
โ€ข Output:
โ€ข INFO 2016-05-06 17:35:37,492 [main] org.mule.module.launcher.MuleDeploymentService:
โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
โ€ข + Started app 'JSONOutbound' +
โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
โ€ข INFO 2016-05-06 17:35:38,806 [main] org.mule.module.launcher.DeploymentDirectoryWatcher:
โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
โ€ข + Mule is up and kicking (every 5000ms) +
โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
โ€ข INFO 2016-05-06 17:35:40,680 [main] org.mule.module.launcher.StartupSummaryDeploymentListener:
โ€ข **********************************************************************
โ€ข * - - + DOMAIN + - - * - - + STATUS + - - *
โ€ข **********************************************************************
โ€ข * default * DEPLOYED *
โ€ข **********************************************************************
โ€ข
โ€ข *******************************************************************************************************
โ€ข * - - + APPLICATION + - - * - - + DOMAIN + - - * - - + STATUS + - - *
โ€ข *******************************************************************************************************
โ€ข * JSONOutbound * default * DEPLOYED *
โ€ข *******************************************************************************************************
โ€ข
โ€ข INFO 2016-05-06 17:37:59,932 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.api.processor.LoggerMessageProcessor: --flow
started
โ€ข INFO 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01]
org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer:
org.mule.transport.jms.transformers.ObjectToJMSMessage
โ€ข INFO 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01]
org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default response transformer:
org.mule.transport.jms.transformers.ObjectToJMSMessage
โ€ข WARN 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01]
com.mulesoft.mule.transport.jms.EeJmsMessageDispatcher: Starting patched JmsMessageReceiver
โ€ข INFO 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.lifecycle.AbstractLifecycleManager: Initialising:
'Active_MQ.dispatcher.1236527945'. Object is: EeJmsMessageDispatcher
โ€ข INFO 2016-05-06 17:38:00,557 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.lifecycle.AbstractLifecycleManager: Starting:
'Active_MQ.dispatcher.1236527945'. Object is: EeJmsMessageDispatcher
โ€ข Flow of execution:
1. URL to trigger the service from browser
http://localhost:8088
2. JMS outbound endpoint pushes the payload
(setpayload) to โ€œmyqueueโ€.
References
โ€ข https://docs.mulesoft.com/mule-user-
guide/v/3.6/jms-transport-reference

More Related Content

What's hot

Wildcard Filter
Wildcard FilterWildcard Filter
Wildcard Filter
sivachandra mandalapu
ย 
Expression Filters
Expression FiltersExpression Filters
Expression Filters
Durga Prasad Kakarla
ย 
How to use salesforce cloud connector
How to use salesforce cloud connectorHow to use salesforce cloud connector
How to use salesforce cloud connector
RaviRajuRamaKrishna
ย 
Message properties component in mule
Message properties component in muleMessage properties component in mule
Message properties component in mule
javeed_mhd
ย 
How to use expression filter
How to use expression filter How to use expression filter
How to use expression filter
Praneethchampion
ย 
Choice component in mule
Choice component in mule Choice component in mule
Choice component in mule
Rajkattamuri
ย 
Database component in mule
Database component in muleDatabase component in mule
Database component in mule
Rajkattamuri
ย 
Mule soft muleflow
Mule soft muleflowMule soft muleflow
Mule soft muleflow
abhipokharna
ย 
Mule ESB
Mule ESBMule ESB
Mule ESB
Yura Nosenko
ย 
Global Scale ESB with Mule
Global Scale ESB with MuleGlobal Scale ESB with Mule
Global Scale ESB with Mule
Andrew Kennedy
ย 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
Praneethchampion
ย 
Creating a custom connector in mule
Creating a custom connector in muleCreating a custom connector in mule
Creating a custom connector in mule
Achyuta Lakshmi
ย 

What's hot (12)

Wildcard Filter
Wildcard FilterWildcard Filter
Wildcard Filter
ย 
Expression Filters
Expression FiltersExpression Filters
Expression Filters
ย 
How to use salesforce cloud connector
How to use salesforce cloud connectorHow to use salesforce cloud connector
How to use salesforce cloud connector
ย 
Message properties component in mule
Message properties component in muleMessage properties component in mule
Message properties component in mule
ย 
How to use expression filter
How to use expression filter How to use expression filter
How to use expression filter
ย 
Choice component in mule
Choice component in mule Choice component in mule
Choice component in mule
ย 
Database component in mule
Database component in muleDatabase component in mule
Database component in mule
ย 
Mule soft muleflow
Mule soft muleflowMule soft muleflow
Mule soft muleflow
ย 
Mule ESB
Mule ESBMule ESB
Mule ESB
ย 
Global Scale ESB with Mule
Global Scale ESB with MuleGlobal Scale ESB with Mule
Global Scale ESB with Mule
ย 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
ย 
Creating a custom connector in mule
Creating a custom connector in muleCreating a custom connector in mule
Creating a custom connector in mule
ย 

Viewers also liked

Cloud hub deployment
Cloud hub deploymentCloud hub deployment
Cloud hub deployment
sivachandra mandalapu
ย 
Splitter
SplitterSplitter
Not Filter
Not FilterNot Filter
Not Filter
sivachandra mandalapu
ย 
How to use IMAP endpoint
How to use IMAP endpointHow to use IMAP endpoint
How to use IMAP endpoint
sivachandra mandalapu
ย 
How to use poll scope
How to use poll scopeHow to use poll scope
How to use poll scope
sivachandra mandalapu
ย 
Dockerizing mule soft esb
Dockerizing mule soft esbDockerizing mule soft esb
Dockerizing mule soft esb
sivachandra mandalapu
ย 
Integrate mule esb with microsoft office 365 share point
Integrate mule esb with microsoft office 365 share pointIntegrate mule esb with microsoft office 365 share point
Integrate mule esb with microsoft office 365 share point
sivachandra mandalapu
ย 
Securing api with_o_auth2
Securing api with_o_auth2Securing api with_o_auth2
Securing api with_o_auth2
sivachandra mandalapu
ย 
How to use processor chain
How to use processor chainHow to use processor chain
How to use processor chain
sivachandra mandalapu
ย 
How to use parse template
How to use parse templateHow to use parse template
How to use parse template
sivachandra mandalapu
ย 
How to read json message payload
How to read json message payloadHow to read json message payload
How to read json message payload
sivachandra mandalapu
ย 
Specifying a default exception strategy
Specifying a default exception strategySpecifying a default exception strategy
Specifying a default exception strategy
sivachandra mandalapu
ย 
How to use message enricher
How to use message enricherHow to use message enricher
How to use message enricher
sivachandra mandalapu
ย 
Sap
SapSap
How to use attachment transformer
How to use attachment transformerHow to use attachment transformer
How to use attachment transformer
sivachandra mandalapu
ย 
Defining global exception strategies
Defining global exception strategiesDefining global exception strategies
Defining global exception strategies
sivachandra mandalapu
ย 
Soap Component
Soap ComponentSoap Component
Soap Component
sivachandra mandalapu
ย 
Integration with dropbox using mule esb
Integration with dropbox using mule esbIntegration with dropbox using mule esb
Integration with dropbox using mule esb
sivachandra mandalapu
ย 
Mule esb with amazon s3 Integration
Mule esb with amazon s3 IntegrationMule esb with amazon s3 Integration
Mule esb with amazon s3 Integration
sivachandra mandalapu
ย 
How to use batch component
How to use batch componentHow to use batch component
How to use batch component
sivachandra mandalapu
ย 

Viewers also liked (20)

Cloud hub deployment
Cloud hub deploymentCloud hub deployment
Cloud hub deployment
ย 
Splitter
SplitterSplitter
Splitter
ย 
Not Filter
Not FilterNot Filter
Not Filter
ย 
How to use IMAP endpoint
How to use IMAP endpointHow to use IMAP endpoint
How to use IMAP endpoint
ย 
How to use poll scope
How to use poll scopeHow to use poll scope
How to use poll scope
ย 
Dockerizing mule soft esb
Dockerizing mule soft esbDockerizing mule soft esb
Dockerizing mule soft esb
ย 
Integrate mule esb with microsoft office 365 share point
Integrate mule esb with microsoft office 365 share pointIntegrate mule esb with microsoft office 365 share point
Integrate mule esb with microsoft office 365 share point
ย 
Securing api with_o_auth2
Securing api with_o_auth2Securing api with_o_auth2
Securing api with_o_auth2
ย 
How to use processor chain
How to use processor chainHow to use processor chain
How to use processor chain
ย 
How to use parse template
How to use parse templateHow to use parse template
How to use parse template
ย 
How to read json message payload
How to read json message payloadHow to read json message payload
How to read json message payload
ย 
Specifying a default exception strategy
Specifying a default exception strategySpecifying a default exception strategy
Specifying a default exception strategy
ย 
How to use message enricher
How to use message enricherHow to use message enricher
How to use message enricher
ย 
Sap
SapSap
Sap
ย 
How to use attachment transformer
How to use attachment transformerHow to use attachment transformer
How to use attachment transformer
ย 
Defining global exception strategies
Defining global exception strategiesDefining global exception strategies
Defining global exception strategies
ย 
Soap Component
Soap ComponentSoap Component
Soap Component
ย 
Integration with dropbox using mule esb
Integration with dropbox using mule esbIntegration with dropbox using mule esb
Integration with dropbox using mule esb
ย 
Mule esb with amazon s3 Integration
Mule esb with amazon s3 IntegrationMule esb with amazon s3 Integration
Mule esb with amazon s3 Integration
ย 
How to use batch component
How to use batch componentHow to use batch component
How to use batch component
ย 

Similar to How to use jms outbound endpoint

Mule Message Properties Component
Mule Message Properties ComponentMule Message Properties Component
Mule Message Properties Component
Durga Prasad Kakarla
ย 
Message properties component
Message properties component Message properties component
Message properties component
Sunil Komarapu
ย 
Message properties component
Message properties componentMessage properties component
Message properties component
F K
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
Sunil Komarapu
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
Khasim Saheb
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
Anand kalla
ย 
Message properties component in Mule
Message properties component in MuleMessage properties component in Mule
Message properties component in Mule
Khan625
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
princeirfancivil
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
irfan1008
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
Phaniu
ย 
Message properties component in mule
Message properties component in muleMessage properties component in mule
Message properties component in mule
Khan625
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
RaviRajuRamaKrishna
ย 
Expression filter in Mule
Expression filter in MuleExpression filter in Mule
Expression filter in Mule
Mohammed246
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
Sunil Komarapu
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
Anand kalla
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
Khasim Saheb
ย 
How to use wildcard filter
How to use wildcard filterHow to use wildcard filter
How to use wildcard filter
RaviRajuRamaKrishna
ย 
Howtouseforeachcomponent
HowtouseforeachcomponentHowtouseforeachcomponent
Howtouseforeachcomponent
akshay yeluru
ย 
Filter expression
Filter expression Filter expression
Filter expression
Sunil Komarapu
ย 
Filter expression
Filter expression Filter expression
Filter expression
F K
ย 

Similar to How to use jms outbound endpoint (20)

Mule Message Properties Component
Mule Message Properties ComponentMule Message Properties Component
Mule Message Properties Component
ย 
Message properties component
Message properties component Message properties component
Message properties component
ย 
Message properties component
Message properties componentMessage properties component
Message properties component
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
ย 
Message properties component in Mule
Message properties component in MuleMessage properties component in Mule
Message properties component in Mule
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
ย 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
ย 
Message properties component in mule
Message properties component in muleMessage properties component in mule
Message properties component in mule
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
ย 
Expression filter in Mule
Expression filter in MuleExpression filter in Mule
Expression filter in Mule
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
ย 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
ย 
How to use wildcard filter
How to use wildcard filterHow to use wildcard filter
How to use wildcard filter
ย 
Howtouseforeachcomponent
HowtouseforeachcomponentHowtouseforeachcomponent
Howtouseforeachcomponent
ย 
Filter expression
Filter expression Filter expression
Filter expression
ย 
Filter expression
Filter expression Filter expression
Filter expression
ย 

More from sivachandra mandalapu

Mock component in munit
Mock component in munitMock component in munit
Mock component in munit
sivachandra mandalapu
ย 
Jms selector
Jms selectorJms selector
Jms selector
sivachandra mandalapu
ย 
Sftplite
SftpliteSftplite
Object store
Object storeObject store
Object store
sivachandra mandalapu
ย 
How to use SFTP
How to use SFTPHow to use SFTP
How to use SFTP
sivachandra mandalapu
ย 
How to use secure property placeholder
How to use secure property placeholderHow to use secure property placeholder
How to use secure property placeholder
sivachandra mandalapu
ย 
Reference exception strategy
Reference exception strategyReference exception strategy
Reference exception strategy
sivachandra mandalapu
ย 
Validate json schema
Validate json schemaValidate json schema
Validate json schema
sivachandra mandalapu
ย 
Validation
ValidationValidation
Validation
sivachandra mandalapu
ย 
Property place holder
Property place holderProperty place holder
Property place holder
sivachandra mandalapu
ย 
Collection aggregator
Collection aggregatorCollection aggregator
Collection aggregator
sivachandra mandalapu
ย 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
sivachandra mandalapu
ย 
Setting up organization with api access
Setting up organization with api accessSetting up organization with api access
Setting up organization with api access
sivachandra mandalapu
ย 
API gateway setup
API gateway setupAPI gateway setup
API gateway setup
sivachandra mandalapu
ย 
Expression
ExpressionExpression
Expression
sivachandra mandalapu
ย 
Synchronous communication using jms back channel
Synchronous communication using jms back channelSynchronous communication using jms back channel
Synchronous communication using jms back channel
sivachandra mandalapu
ย 
Data Mapper
Data MapperData Mapper
Data Mapper
sivachandra mandalapu
ย 
Rest Component
Rest ComponentRest Component
Rest Component
sivachandra mandalapu
ย 
Integration of mule esb with microsoft azure
Integration of mule esb with microsoft azureIntegration of mule esb with microsoft azure
Integration of mule esb with microsoft azure
sivachandra mandalapu
ย 

More from sivachandra mandalapu (19)

Mock component in munit
Mock component in munitMock component in munit
Mock component in munit
ย 
Jms selector
Jms selectorJms selector
Jms selector
ย 
Sftplite
SftpliteSftplite
Sftplite
ย 
Object store
Object storeObject store
Object store
ย 
How to use SFTP
How to use SFTPHow to use SFTP
How to use SFTP
ย 
How to use secure property placeholder
How to use secure property placeholderHow to use secure property placeholder
How to use secure property placeholder
ย 
Reference exception strategy
Reference exception strategyReference exception strategy
Reference exception strategy
ย 
Validate json schema
Validate json schemaValidate json schema
Validate json schema
ย 
Validation
ValidationValidation
Validation
ย 
Property place holder
Property place holderProperty place holder
Property place holder
ย 
Collection aggregator
Collection aggregatorCollection aggregator
Collection aggregator
ย 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
ย 
Setting up organization with api access
Setting up organization with api accessSetting up organization with api access
Setting up organization with api access
ย 
API gateway setup
API gateway setupAPI gateway setup
API gateway setup
ย 
Expression
ExpressionExpression
Expression
ย 
Synchronous communication using jms back channel
Synchronous communication using jms back channelSynchronous communication using jms back channel
Synchronous communication using jms back channel
ย 
Data Mapper
Data MapperData Mapper
Data Mapper
ย 
Rest Component
Rest ComponentRest Component
Rest Component
ย 
Integration of mule esb with microsoft azure
Integration of mule esb with microsoft azureIntegration of mule esb with microsoft azure
Integration of mule esb with microsoft azure
ย 

Recently uploaded

Ch-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdfCh-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdf
lakshayrojroj
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
ย 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
ย 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
ย 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ShwetaGawande8
ย 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
Celine George
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Nguyen Thanh Tu Collection
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
ย 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Celine George
ย 
220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
Kalna College
ย 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
ย 
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
220711130100 udita Chakraborty  Aims and objectives of national policy on inf...220711130100 udita Chakraborty  Aims and objectives of national policy on inf...
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
Kalna College
ย 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
ย 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
Celine George
ย 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
ย 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
ย 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
ย 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
ย 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
Kalna College
ย 

Recently uploaded (20)

Ch-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdfCh-4 Forest Society and colonialism 2.pdf
Ch-4 Forest Society and colonialism 2.pdf
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
ย 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
ย 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
ย 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ย 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
ย 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
ย 
220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
ย 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
ย 
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
220711130100 udita Chakraborty  Aims and objectives of national policy on inf...220711130100 udita Chakraborty  Aims and objectives of national policy on inf...
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
ย 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
ย 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
ย 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
ย 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
ย 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
ย 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
ย 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
ย 

How to use jms outbound endpoint

  • 1. How to use JMS Outbound endpoint 14-05-2015
  • 2. Abstract โ€ข The main motto of this PPT is How to use JMS outbound endpoint in our applications.
  • 3. Introduction โ€ข JMS (Java Message Service) is a widely-used API for Message Oriented Middleware. It allows communication between different components of a distributed application to be loosely coupled, reliable, and asynchronous.
  • 5. .mflow โ€ข <?xml version="1.0" encoding="UTF-8"?> โ€ข โ€ข <mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" โ€ข xmlns:spring="http://www.springframework.org/schema/beans" โ€ข xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" โ€ข xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd โ€ข http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd โ€ข http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd"> โ€ข <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8088" doc:name="HTTP Listener Configuration"/> โ€ข <jms:activemq-connector name="Active_MQ" brokerURL="tcp://localhost:61616" validateConnections="true" doc:name="Active MQ"/> โ€ข <flow name="readingjsonFlow"> โ€ข <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/> โ€ข <logger message="--flow started" level="INFO" doc:name="Logger"/> โ€ข <set-payload value="{ &quot;Address&quot;:{ &quot;Country&quot;:&quot;India&quot;, &quot;State&quot;:&quot;AP&quot;, &quot;City&quot;:&quot;Rajhamundry&quot; } }" doc:name="Set Payload"/> โ€ข <jms:outbound-endpoint queue="myqueue" connector-ref="Active_MQ" doc:name="JMS"/> โ€ข </flow> โ€ข </mule>
  • 6. โ€ข Output: โ€ข INFO 2016-05-06 17:35:37,492 [main] org.mule.module.launcher.MuleDeploymentService: โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ โ€ข + Started app 'JSONOutbound' + โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ โ€ข INFO 2016-05-06 17:35:38,806 [main] org.mule.module.launcher.DeploymentDirectoryWatcher: โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ โ€ข + Mule is up and kicking (every 5000ms) + โ€ข ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ โ€ข INFO 2016-05-06 17:35:40,680 [main] org.mule.module.launcher.StartupSummaryDeploymentListener: โ€ข ********************************************************************** โ€ข * - - + DOMAIN + - - * - - + STATUS + - - * โ€ข ********************************************************************** โ€ข * default * DEPLOYED * โ€ข ********************************************************************** โ€ข โ€ข ******************************************************************************************************* โ€ข * - - + APPLICATION + - - * - - + DOMAIN + - - * - - + STATUS + - - * โ€ข ******************************************************************************************************* โ€ข * JSONOutbound * default * DEPLOYED * โ€ข ******************************************************************************************************* โ€ข โ€ข INFO 2016-05-06 17:37:59,932 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.api.processor.LoggerMessageProcessor: --flow started โ€ข INFO 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer: org.mule.transport.jms.transformers.ObjectToJMSMessage โ€ข INFO 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default response transformer: org.mule.transport.jms.transformers.ObjectToJMSMessage โ€ข WARN 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] com.mulesoft.mule.transport.jms.EeJmsMessageDispatcher: Starting patched JmsMessageReceiver โ€ข INFO 2016-05-06 17:38:00,542 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.lifecycle.AbstractLifecycleManager: Initialising: 'Active_MQ.dispatcher.1236527945'. Object is: EeJmsMessageDispatcher โ€ข INFO 2016-05-06 17:38:00,557 [[JSONOutbound].HTTP_Listener_Configuration.worker.01] org.mule.lifecycle.AbstractLifecycleManager: Starting: 'Active_MQ.dispatcher.1236527945'. Object is: EeJmsMessageDispatcher
  • 7. โ€ข Flow of execution: 1. URL to trigger the service from browser http://localhost:8088 2. JMS outbound endpoint pushes the payload (setpayload) to โ€œmyqueueโ€.
  • 8.