Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Anypoint JMS Connector With Mulesoft

Anypoint JMS Connector With Mulesoft

Anypoint JMS Connector With Mulesoft

Jitendra Bafna

May 17, 2017
Tweet

More Decks by Jitendra Bafna

Other Decks in Technology

Transcript

  1. JMS Connector JMS (Java Messaging Service) 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 Topics/Queues. JMS supports two models for messaging • Queue (Point to Point) • Topic (Publish-Subscribe)
  2. Queue • It enables One to One communication. It is

    also called as a Point To Point communication. • Sender will delivers message to queue and single receivers will pick the message from queue. • Receiver doesn't needs to listen to queue at the time when message is sent to queue.
  3. Topic • It enables One to Many communicaton. It is

    also called as a Publish Subscribe communication. • Publisher will deliver message to topic and it will be received by all subscribers who are actively listening to topic. • Subscriber will miss the published message if it is not actively listening to the topic unless message are made durable.
  4. JMS Connector for Publishing Message to Topic Place a JMS

    connector at Message Source section in Mule Flow. Configure the connector properties like Display Name, Topic and click on Add Connector Configuration, it will open another window then select JMS of your choice. In this case we will select ActiveMQ and press OK.
  5. JMS Connector for Publishing Message to Topic After clicking OK,

    it will open another window where you need to provide your Broker Url and Username/Password if any.
  6. JMS Connector for Publishing Message to Topic Now you need

    to add ActiveMQ jar file in your project. Drag and Drop the jar file (e.g. activemq-all-5.6.0.jar) into your project and go to Package Explorer pane of your application and right click then select Build Path < Add to Build Path.
  7. JMS Connector for Subscribing Message to Topic Place the JMS

    connector at the middle or end of the flow (basically in the Message Processor region). Configure JMS connector in same way as we have done for Publishing the message to topic. You need to add Active MQ jar file for subscribing the message to topic as it has been explained in this presentation in previous slides.
  8. Supported JMS Providers • Out-Of-Box support for ActiveMQ, WebLogic JMS,

    Generic or any custom JMS. • HornetMQ, Open MQ, Solace JMS, Tibco EMS. • WebSphere MQ.