Connecting to IBM WebSphere App Server¶
This page describes how to configure the WSO2 Micro Integrator with IBM WebSphere Application Server.
- Set up IBM WebSphere Application Server according to the instructions provided by IBM.
- Download and install WSO2 Micro Integrator.
- 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.
-
Copy the following libraries from
WEBSHPERE_HOME>/java/lib
directory toMI_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
-
Add the following entries to the
MI_HOME/conf/etc/launch.ini
file.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.javax.jms,\ javax.rmi.CORBA,\
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"
- Start IBM WebSphere Application Server.
You have now configured instances of IBM WebSphere Application Server and WSO2 Micro Integrator.