Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JMS Message Store persists messages in a JMS queue inside a JMS Broker. It can be configured by giving the class value as org.apache.synapse.message.store.impl.jms.JmsStore. Since they persist messages in a JMS queue in an ordered manner, JMS message stores can be used to implement a store-and-forward pattern that has quality-of-service parameters like guaranteed delivery and reliability.

...

Parameter Name

Value

Required

java.naming.factory.initial

Initial Context Factory to use to connect to the JMS broker

YES

java.naming.provider.url

Url of the naming provider to be used by the context factory

YES

store.jms.destination

JNDI Name of the Queue Name that message store is connecting

NO but for some JMS clients this will be needed

store.jms.connection.factory

JNDI name of the Connection factory which is used to create jms connections

NO but for some JMS clients this will be needed

store.jms.username

User Name that is used to create the connection with the broker

NO

store.jms.password

Password that is used to create the connection with the broker

NO

store.jms.JMSSpecVersion

1.1 or 1.0 JMS API specification to be used (Default 1.1)

NO

store.jms.cache.connection

true/false Enable Connection caching

NO

vender.class.loader.enabledSet to false when using IBM MQ, which requires skipping the external class loader.NO except when using IBM MQ

For more information about message stores, see Message Stores.

...

Note: Individual message priorities can be set using the following property. However this should be implemented on provider.
         <property name="JMS_PRIOR ITY" value="9" scope="axis2"/> 
         Eg:- Value can be 0-9 for ActiveMQ
Also see  Store and Forward Using JMS Message Stores for information on configuring JMS message stores for a different message broker.

 

Excerpt
hiddentrue

Description of JMS Message Store.