2. WHAT IS JMS?
• Java Message Service (JMS) is an application program interface (API) from Sun
Microsystems that supports the formal communication known as messaging
between computers in a network. Sun's JMS provides a common interface to
standard messaging protocols and also to special messaging services in support
of Java programs.
3. MULE JMS TRANSPORT
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.
Mule’s JMS transport lets you easily send and receive messages to queues and
topics for any message service which implements the JMS specification.
5. MULE JMS TRANSPORT – CONFIGURATION
WIZARD (GENERAL TAB)
• Following are the options on general tab –
• Display Name – The display name to de displayed in Mule flow.
• Pattern – Exchange pattern to be used with this Mule JMS transport.
• Queue – The reference of the queue to be used with this transport.
• Topic – If user doesn’t want to use queues then topics can be added.
• Connector Configuration – Reference to the global connector configuration.
• Type – Type of the transaction.
• Action – Type of action to be executed.
• Timeout – Request timeout in milliseconds.
7. MULE JMS TRANSPORT – CONFIGURATION
WIZARD (ADVANCED TAB) (CONT.)
• Following are the options on advanced tab –
• Address – The address to this Mule JMS transport.
• MIME Type – The MIME Type of message data e.g. application/json.
• Response Timeout – The response timeout in milliseconds.
• Encoding – Encoding standard to be applied on message data.
• Durable Name – In the case of a topic, the number of consumers on the endpoint is
set to one. You can override this by setting numberOfConcurrentTransactedReceivers
or numberOfConsumers on the connector.
• Config Endpoint – Reference to the global connector enfdoint configuration.
9. MULE JMS TRANSPORT – CONFIGURATION
WIZARD (RECONNECTION TAB)
• Following are properties on reconnection tab –
• Do not use a Reconnection Strategy – This is the default radio button which specifies do
not try to reconnect if there is error connecting to the web address URL.
• Standard Reconnection – Use this radio button to enable a standard reconnection strategy.
• Frequency (ms) – The frequency time in milliseconds after which the File connector will try to
access the web address URL.
• Reconnect Attempts – This tells how many times the File connector will try to connect to web
address URL.
• Reconnector Forever – Check this box if there is need to make File connector connect to web
address URL until there is a successful connection with it.
• Custom Reconnection – Use this radio button to create a custom Reconnection strategy.
• Class – The java class which will come in action after a failed connection attempt.
• Run the connection in a separated thread – Check this box if there is need to use this custom
reconnection operation in separate thread.
11. MULE JMS TRANSPORT – CONFIGURATION
WIZARD (TRANSFORMERS TAB)
• Following are properties on Transformers tab –
• Global transformers – Enter a list of synchronous transformers that are applied to the
request before it is sent to the JMS connector.
• Transformers to be applied - Enter a list of synchronous transformers that are applied
to the response before it is dispatched from the JMS connector.
12. MULE JMS TRANSPORT – CONFIGURATION
WIZARD (NOTES AND META-DATA TABS) (CONT.)
• Notes tab - This tab is used to add special notes for the JMS connector.
• Metadata tab – This tab is used to add any metadata entry for JMS connector.