Child pages
  • Output WSO2 Message Broker JMS Event Adapter

Versions Compared

Key

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

Follow the instructions below to configure WSO2 Message Broker (MB) as a JMS output event adapter. You can configure it with map, XML, JSON, and text output  mapping types.

Table of Contents
maxLevel3

Excerpt
hiddentrue

NOTE TO WRITERS: Add the TOC here.

Table of Contents
maxLevel3

Prerequisites

Follow the steps below to set up the prerequisites before starting the configuration.

  1. Download and install WSO2 Message Broker. 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. 

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

Configuring the MB output JMS event adapter

You can configure WSO2 MB JMS output event adapter using the management console or using a configuration file.

Info

When using WSO2 MB as the JMS message broker,  add an entry to <PRODUCT_HOME>/reposiyory/conf/jndi.properties file in the following format to register the topic: topic.{topicName} = {topicName}. For an example, if the value of the field destination is BasicStockQuotes, then add the following entry: topic.BasicStockQuotes = BasicStockQuotes

Anchor
Using the management console
Using the management console
Configure using the management console

Follow the instructions below to configure WSO2 MB output JMS event adapter using the management console. This deploys the event adapter in the <PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory.

  1. Log in to product's management console, and click Configure. 

  2. Click Output Event Adaptors in the Event Processor Configs menu, and then click Add Output Event Adaptor.

  3. Enter details as shown in the below example.  
    cretae WSO2 MB JMS output event adapter
  4. Click Add Event Adaptor.

Anchor
Using a configuration file
Using a configuration file
Configure using a configuration file

Follow the instructions below to configure WSO2 MB output JMS event adapter using a configuration file.

...

When using WSO2 MB as the output event adapter, start product server by executing the following command: -Dqpid.dest_syntax=BURL. (For example: ./wso2server.sh -Dqpid.dest_syntax=BURL)

Configuring output JMS event adapter message properties

For instructions on configuring output JMS event adapter message properties, see Configuring Output JMS Event Adapter Message Properties. 
Excerpt
hiddentrue

NOTE TO WRITERS: Link "Configuring Output JMS Event Adapter Message Properties" of the above text to the page titled the same.