Versions Compared

Key

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

WSO2 Message Broker (MB) JMS event receiver is an internal event receiver that comes with WSO2 products by default You can configure it with map, XML, JSON, and text input  mapping types.

...

  1. Download and install WSO2 Message Broker (MB). For instructions on WSO2 MB, go to Message Broker documentation.

  2. Add the following JMS -specific JAR files to  <PRODUCT_HOME>/repository/components/lib/ directory.       

    • <W SO2MB_HOME>/client-lib/andes-client-xx.jar         
    • <WSO2MB_HOME>/client-lib/geronimo-j2ee-management_1.1_spec-1.0.1xx.jar  

...

Adapter PropertyDescriptionConfiguration file propertyExample
Topic/Queue Name

Valid name for the JMS topic. WSO2 CEP/DAS sends and receives messages by subscribing to a topic or using named queues.

transport.jms.Destination
WSO2MBJMSInputEventAdapter
JNDI Initial Context Factory Class

JNDI initial context factory class. The class must implement the java.naming.spi.InitialContextFactory interface.

java.naming.factory.initial
org .wso2.andes.jndi.PropertiesFileInitialContextFactory
JNDI Provider URLURL of the JNDI provider.
java.naming.provider.url
repository/conf/jndi.properties
The JMS connection passwordA valid password for the JMS connection.
transport.jms.Password
jms-password
The JMS connection usernameA valid username for the JMS connection.
transport.jms.UserName
jms-user
Connection Factory JNDI NameThe JNDI name of the connection factory.
transport.jms.ConnectionFactoryJNDIName
TopicConnectionFactory
Destination TypeDefine the sort order for messages that arrive on a specific destination.
transport.jms.DestinationType
topic/queue
Enable Durable SubscriptionWhether the subscription is durable or not.
transport.jms.SubscriptionDurable
true/false
Durable Subscriber Name
A valid name of the durable subscriber (If any value added, Durable subscription will be enabled).
transport.jms.DurableSubscriberName
subscriber
JMS Properties

Valid property and value pairs to denote Axis2 JMS properties (e.g. "property1: value1, property2: value2")

For more information on Axis2 JMS properties, go to Apache AXIS2 Transports Documentation.

jms.properties
  SessionTransacted:false

Related samples

For more information on WSO2 MB event receiver type, see the following sample in WSO2 CEP Documentation.