SlideShare a Scribd company logo
CONNECTORS
IN
MULESOFT
CONTENTS:
• MULESOFT
• ANYPOINT STUDIO
• JMS(Java Message Service)
MULESOFT
• Mule, the runtime engine of Anypoint Platform, is a lightweight Java-based enterprise service bus
(ESB) and integration platform that allows developers to connect applications together quickly and
easily, enabling them to exchange data.
• It enables easy integration of existing systems, regardless of the different technologies that the
applications use, including JMS, Web Services, JDBC, HTTP, and more.
• Mule has powerful capabilities that include:
 Service creation and hosting
 Service mediation
 Message routing
 Data transformation
ANYPOINT STUDIO
Accelerate developer productivity with a single graphical environment for SOA, SaaS, APIs and data
integration, then deploy your applications with one click to the Mule runtime, on-premises or in the
cloud.
 Design and implement APIs with unified tooling
 Build, edit, document and debug integrations graphically or in XML
 Simplify data mapping and transformation
 Complete support for the entire build-to-deploy process
 Jumpstart your integrations with pre-built components
JAVA MESSAGE SERVICE(JMS)
• JMS 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.
• JMS supports two models for messaging:
Point to point (QUEUES)
Publish and subscribe(TOPICS)
• It also have five elements:
1.Client
2.Publisher
3.Consumer
4.Message
5.queue
JMS for QUEUES
•For a file to be placed in JMS queue, the following connectors are used as given below:
The following connectors are used:
File
File to string
JMS
File Connector:
The File connector allows your Mule application to exchange files
within the local file system. You can implement the File connector as
an inbound endpoint (such as, a message source), or as an outbound
endpoint. This endpoint implements a one-way exchange pattern only.
File to string Transformer:
File-To-String element configures a transformer that reads the content
of java.io.File into a java.lang.String.
JMS Connector:
JMS is mostly used API enabling the application to communicate
through the exchange of message. JMS connector is capable of sending
and receiving message to and from queues/topics.
•For a JMS queue to dequeue the following connectors are used:
Steps to be followed:
1.Drag and drop file connector, file to string transformer and JMS connector.
2. open file properties and provide path to insert files to queue.
3. Open JMS properties select one way , provide
queue name and do connector configuration i.e.,
Active_MQ
4. A dialog box opens then select Active_MQ as
shown below
5. Configure Active_MQ with admin as
username and password and press ok.
6. Now go to apache_Active_MQ and run wrapper.
7. Open browser and type localhost:8161
and enter.
8. A page will be opened and then select manage
activeMQ broker.
9. Then type admin as username and password.
10. Select queue on the top left and check given queue is
in the list or not.
11. Now if we run the project a file will be queued but an error occurs because jar files are missing.
12. To add jar files, right click on project and select build path and then configure build path
13. Properties window open where select
libraries and add external jars
14. Select the jar file as below
15. Check whether the jar file has been added or
not and press apply and then ok. 16. Now right click on project and press run as
mule project.
Thank
you

More Related Content

What's hot

Mule soa
Mule soaMule soa
Mule soa
D.Rajesh Kumar
 
Deploy apps in standalone with maven
Deploy apps in standalone with mavenDeploy apps in standalone with maven
Deploy apps in standalone with maven
Anirban Sen Chowdhary
 
Building a Bi-Lingual Content Management System (CMS)
Building a Bi-Lingual Content Management System (CMS)Building a Bi-Lingual Content Management System (CMS)
Building a Bi-Lingual Content Management System (CMS)
Museums Computer Group
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye View
csushil
 
Mule real-world-old
Mule real-world-oldMule real-world-old
Mule real-world-old
Praneethchampion
 
Mule esb presentation 2015
Mule esb presentation 2015Mule esb presentation 2015
Mule esb presentation 2015
Nagesh Penumarthy
 
Java j2eeTutorial
Java j2eeTutorialJava j2eeTutorial
Java j2eeTutorial
QUONTRASOLUTIONS
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
M.Zalmai Rahmani
 
Scale with Microservices
Scale with MicroservicesScale with Microservices
Scale with Microservices
Võ Duy Tuấn
 
Introduction To Symfony
Introduction To SymfonyIntroduction To Symfony
Introduction To Symfony
Mobicules Technologies
 
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
lottepitcher
 
Create folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esbCreate folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esbSanjeet Pandey
 
Ms sql developer
Ms sql developerMs sql developer
Ms sql developer
Tripti Jha
 
Muleesb
MuleesbMuleesb
Chatbot in Sale Management
Chatbot in Sale ManagementChatbot in Sale Management
Chatbot in Sale Management
Võ Duy Tuấn
 
Mobile outsourcing best practices
Mobile outsourcing best practicesMobile outsourcing best practices
Mobile outsourcing best practices
Võ Duy Tuấn
 
Server Side Programming
Server Side Programming Server Side Programming
Server Side Programming
Zac Gordon
 
Developing Profitable APIs - John Fraser - Platform A
Developing Profitable APIs - John Fraser - Platform ADeveloping Profitable APIs - John Fraser - Platform A
Developing Profitable APIs - John Fraser - Platform Aauexpo Conference
 

What's hot (20)

Mule soa
Mule soaMule soa
Mule soa
 
Cms
CmsCms
Cms
 
Deploy apps in standalone with maven
Deploy apps in standalone with mavenDeploy apps in standalone with maven
Deploy apps in standalone with maven
 
Building a Bi-Lingual Content Management System (CMS)
Building a Bi-Lingual Content Management System (CMS)Building a Bi-Lingual Content Management System (CMS)
Building a Bi-Lingual Content Management System (CMS)
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye View
 
Mule real-world-old
Mule real-world-oldMule real-world-old
Mule real-world-old
 
Mule esb presentation 2015
Mule esb presentation 2015Mule esb presentation 2015
Mule esb presentation 2015
 
Java j2eeTutorial
Java j2eeTutorialJava j2eeTutorial
Java j2eeTutorial
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Scale with Microservices
Scale with MicroservicesScale with Microservices
Scale with Microservices
 
Introduction To Symfony
Introduction To SymfonyIntroduction To Symfony
Introduction To Symfony
 
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
 
Create folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esbCreate folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esb
 
Ms sql developer
Ms sql developerMs sql developer
Ms sql developer
 
Muleesb
MuleesbMuleesb
Muleesb
 
Chatbot in Sale Management
Chatbot in Sale ManagementChatbot in Sale Management
Chatbot in Sale Management
 
Mobile outsourcing best practices
Mobile outsourcing best practicesMobile outsourcing best practices
Mobile outsourcing best practices
 
Server Side Programming
Server Side Programming Server Side Programming
Server Side Programming
 
Dba
DbaDba
Dba
 
Developing Profitable APIs - John Fraser - Platform A
Developing Profitable APIs - John Fraser - Platform ADeveloping Profitable APIs - John Fraser - Platform A
Developing Profitable APIs - John Fraser - Platform A
 

Similar to Mulesoftconnectors

Mule esb
Mule esbMule esb
Mule esb
himajareddys
 
Mule esb
Mule esbMule esb
Mule esb
himajareddys
 
Mule
MuleMule
Mule enterprise service introduction
Mule enterprise service introductionMule enterprise service introduction
Mule enterprise service introduction
Son Nguyen
 
Srilekha mule esb
Srilekha mule esbSrilekha mule esb
Srilekha mule esb
srilekha2820
 
Mule
MuleMule
Sai mule esb batch
Sai mule esb batchSai mule esb batch
Sai mule esb batch
saikiran6423
 
Esb process
Esb processEsb process
Esb process
saikiran6423
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
askumar037
 
Mule esb
Mule esb Mule esb
Mule esb
saikiran6423
 
Mule
MuleMule
Mule slides
Mule slides Mule slides
Mule slides
naveenkodumuri12
 
Mule esb kranthi
Mule esb kranthiMule esb kranthi
Mule esb kranthi
Earnest Stephen
 
Mule esb kranthi
Mule esb kranthiMule esb kranthi
Mule esb kranthi
kranthikumar1210
 
Mule esb naveen
Mule esb naveenMule esb naveen
Mule esb naveen
naveenkodumuri12
 
Niranjan mule esb
Niranjan mule esbNiranjan mule esb
Niranjan mule esb
niranjan1234567
 
Data Base Connector
Data Base Connector Data Base Connector
Data Base Connector
Venkat Rachapudi
 
Mule in a nutshell
Mule in a nutshellMule in a nutshell
Mule in a nutshell
Ravinder Singh
 
Mule esb
Mule esbMule esb
Mule esb
chetan singhal
 
What is Mule ESB
What is Mule ESB What is Mule ESB
What is Mule ESB
Nam Le Dinh
 

Similar to Mulesoftconnectors (20)

Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule
MuleMule
Mule
 
Mule enterprise service introduction
Mule enterprise service introductionMule enterprise service introduction
Mule enterprise service introduction
 
Srilekha mule esb
Srilekha mule esbSrilekha mule esb
Srilekha mule esb
 
Mule
MuleMule
Mule
 
Sai mule esb batch
Sai mule esb batchSai mule esb batch
Sai mule esb batch
 
Esb process
Esb processEsb process
Esb process
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
 
Mule esb
Mule esb Mule esb
Mule esb
 
Mule
MuleMule
Mule
 
Mule slides
Mule slides Mule slides
Mule slides
 
Mule esb kranthi
Mule esb kranthiMule esb kranthi
Mule esb kranthi
 
Mule esb kranthi
Mule esb kranthiMule esb kranthi
Mule esb kranthi
 
Mule esb naveen
Mule esb naveenMule esb naveen
Mule esb naveen
 
Niranjan mule esb
Niranjan mule esbNiranjan mule esb
Niranjan mule esb
 
Data Base Connector
Data Base Connector Data Base Connector
Data Base Connector
 
Mule in a nutshell
Mule in a nutshellMule in a nutshell
Mule in a nutshell
 
Mule esb
Mule esbMule esb
Mule esb
 
What is Mule ESB
What is Mule ESB What is Mule ESB
What is Mule ESB
 

More from Manav Prasad

Mule and web services
Mule and web servicesMule and web services
Mule and web services
Manav Prasad
 
Mulesoft cloudhub
Mulesoft cloudhubMulesoft cloudhub
Mulesoft cloudhub
Manav Prasad
 
Perl tutorial
Perl tutorialPerl tutorial
Perl tutorial
Manav Prasad
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
Manav Prasad
 
Spring introduction
Spring introductionSpring introduction
Spring introduction
Manav Prasad
 
Json
Json Json
The spring framework
The spring frameworkThe spring framework
The spring framework
Manav Prasad
 
Rest introduction
Rest introductionRest introduction
Rest introduction
Manav Prasad
 
Exceptions in java
Exceptions in javaExceptions in java
Exceptions in java
Manav Prasad
 
Junit
JunitJunit
Xml parsers
Xml parsersXml parsers
Xml parsers
Manav Prasad
 
Xpath
XpathXpath
Xhtml
XhtmlXhtml
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
Manav Prasad
 
J query
J queryJ query
J query
Manav Prasad
 
J query1
J query1J query1
J query1
Manav Prasad
 

More from Manav Prasad (20)

Mule and web services
Mule and web servicesMule and web services
Mule and web services
 
Mulesoft cloudhub
Mulesoft cloudhubMulesoft cloudhub
Mulesoft cloudhub
 
Perl tutorial
Perl tutorialPerl tutorial
Perl tutorial
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
 
Jpa
JpaJpa
Jpa
 
Spring introduction
Spring introductionSpring introduction
Spring introduction
 
Json
Json Json
Json
 
The spring framework
The spring frameworkThe spring framework
The spring framework
 
Rest introduction
Rest introductionRest introduction
Rest introduction
 
Exceptions in java
Exceptions in javaExceptions in java
Exceptions in java
 
Junit
JunitJunit
Junit
 
Xml parsers
Xml parsersXml parsers
Xml parsers
 
Xpath
XpathXpath
Xpath
 
Xslt
XsltXslt
Xslt
 
Xhtml
XhtmlXhtml
Xhtml
 
Css
CssCss
Css
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Ajax
AjaxAjax
Ajax
 
J query
J queryJ query
J query
 
J query1
J query1J query1
J query1
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 

Mulesoftconnectors

  • 2. CONTENTS: • MULESOFT • ANYPOINT STUDIO • JMS(Java Message Service)
  • 3. MULESOFT • Mule, the runtime engine of Anypoint Platform, is a lightweight Java-based enterprise service bus (ESB) and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data. • It enables easy integration of existing systems, regardless of the different technologies that the applications use, including JMS, Web Services, JDBC, HTTP, and more. • Mule has powerful capabilities that include:  Service creation and hosting  Service mediation  Message routing  Data transformation
  • 4. ANYPOINT STUDIO Accelerate developer productivity with a single graphical environment for SOA, SaaS, APIs and data integration, then deploy your applications with one click to the Mule runtime, on-premises or in the cloud.  Design and implement APIs with unified tooling  Build, edit, document and debug integrations graphically or in XML  Simplify data mapping and transformation  Complete support for the entire build-to-deploy process  Jumpstart your integrations with pre-built components
  • 5. JAVA MESSAGE SERVICE(JMS) • JMS 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. • JMS supports two models for messaging: Point to point (QUEUES) Publish and subscribe(TOPICS) • It also have five elements: 1.Client 2.Publisher 3.Consumer 4.Message 5.queue
  • 6. JMS for QUEUES •For a file to be placed in JMS queue, the following connectors are used as given below: The following connectors are used: File File to string JMS
  • 7. File Connector: The File connector allows your Mule application to exchange files within the local file system. You can implement the File connector as an inbound endpoint (such as, a message source), or as an outbound endpoint. This endpoint implements a one-way exchange pattern only. File to string Transformer: File-To-String element configures a transformer that reads the content of java.io.File into a java.lang.String. JMS Connector: JMS is mostly used API enabling the application to communicate through the exchange of message. JMS connector is capable of sending and receiving message to and from queues/topics.
  • 8. •For a JMS queue to dequeue the following connectors are used:
  • 9. Steps to be followed: 1.Drag and drop file connector, file to string transformer and JMS connector. 2. open file properties and provide path to insert files to queue.
  • 10. 3. Open JMS properties select one way , provide queue name and do connector configuration i.e., Active_MQ 4. A dialog box opens then select Active_MQ as shown below
  • 11. 5. Configure Active_MQ with admin as username and password and press ok. 6. Now go to apache_Active_MQ and run wrapper.
  • 12. 7. Open browser and type localhost:8161 and enter. 8. A page will be opened and then select manage activeMQ broker.
  • 13. 9. Then type admin as username and password. 10. Select queue on the top left and check given queue is in the list or not.
  • 14. 11. Now if we run the project a file will be queued but an error occurs because jar files are missing. 12. To add jar files, right click on project and select build path and then configure build path
  • 15. 13. Properties window open where select libraries and add external jars 14. Select the jar file as below
  • 16. 15. Check whether the jar file has been added or not and press apply and then ok. 16. Now right click on project and press run as mule project.