- WSO2 MB should be installed and set up. See Setting up WSO2 Message Broker.
WSO2 ESB should installed and set up. See Setting up WSO2 ESB. Specific entries that are required to be added to the
<ESB_HOME>/repository/conf/jndi.propertiesfile for this use case are as follows.
Item Value Queue
connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5673'
Configuring the JMS publisher
The endpoint of this proxy service uses the following properties to map the proxy service with WSO2 MB.
|Property||Value for this use case||Description|
|The destination in which the request received by the proxy service is stored.|
This property specifies the initial context factory to use. The value specified here should be the same as that specified in
|The location of the JNDI service provider.|
|queue||The destination type of the JMS message that will be generated by the proxy service.|
|The destination in which the response generated by the back-end service is stored.|
Since this is a two-way invocation, the OUT_ONLY property is not set in the In sequence.
Execute the following command from the the
<ESB_HOME>/sample/axis2Client directory to invoke the
SMSSenderProxy proxy service you defined as the JMS publisher.