Connecting to IBM WebSphere App Server

This page describes how to configure the WSO2 Micro Integrator with IBM WebSphere Application Server.

  1. Set up IBM WebSphere Application Server according to the instructions provided by IBM.
  2. Download and install WSO2 Micro Integrator.
  3. Create a JMS queue (e.g., samplequeue) and a JMS connection factory (e.g., QueueConnectionFactory) as described in the topics under Setting Up JMS in IBM WebSphere Application Server in the IBM documentation.
  4. Copy the following libraries from WEBSHPERE_HOME>/java/lib directory to MI_HOME/lib directory.

    • com.ibm.ws.runtime.jar
    • com.ibm.ws.admin.client_7.0.0.jar
    • com.ibm.ws.sib.client.thin.jms_7.0.0.jar
    • com.ibm.ws.webservices.thinclient_7.0.0.jar
    • bootstrap.jar
  5. Add the following entries to the MI_HOME/conf/etc/launch.ini file.

    javax.jms,\
    javax.rmi.CORBA,\
    6. If you want the Micro Integrator to receive messages from an IBM Websphere app server, or to send messages to an IBM Websphere app server, you need to update the deployment.toml file with the relevant connection parameters.

Add the following configurations to enable the JMS sender and listener with ActiveMQ connection parameters.

[transport.jms]
sender_enable = true

[[transport.jms.listener]]
name = "myQueueConnectionFactory"
parameter.initial_naming_factory = "com.ibm.websphere.naming.WsnInitialContextFactory"
parameter.provider_url = "iiop://localhost:2809"
parameter.connection_factory_name = "QueueConnectionFactory"
parameter.connection_factory_type = "queue"
parameter.destination = "samplequeue"

[[transport.jms.listener]]
name = "default"
parameter.initial_naming_factory = "com.ibm.websphere.naming.WsnInitialContextFactory"
parameter.provider_url = "iiop://localhost:2809"
parameter.connection_factory_name = "QueueConnectionFactory"
parameter.connection_factory_type = "queue"
parameter.destination = "samplequeue"

  1. Start IBM WebSphere Application Server.

You have now configured instances of IBM WebSphere Application Server and WSO2 Micro Integrator.

Top