JMS configuration guide
This page introduces how to create the JMS connection factory and queue in WPS 6.0.2. Login the WAS admin console with the administartor user name and password;
Step 1: Create a service bus "MTP-Bus": 1 Click "Service integration" -> "Buses" in the left navigation bar; 2 Click "New" to create a new bus, input "MTP-Bus" as the bus name, do not check the "bus security"; 3 Click "Finish" and then save the changes to the master configuration;
**Step 2: Create a bus destination "MTP-Event-Q"; ** 1 Click "MTP-Bus" in the page of "Buses"; 2 Click "Bus memebers", and then click "add" button; 3 Select the default server and click "Next"; 4 Keep all other configurations unchanged; 5 Click "Finish" and save the changes to the master configuration; 6 Click "Destinations" on the page of "MTP-Bus"; 7 Click "New" and then select "Queue" as the destination type; 8 Input "MTP-Event-Q" as the "Identifier", select the current server as the bus memeber; 9 Click "Finish" to create this destination, and then save the changes to the master configuration;
**Step 3: Create a Queue Connection Factory "MTP-QCF1": ** 1 Select "Resources" -> "JMS Provider" -> "Default messaging"; 2 Click "JMS queue connection factory", then click "New", then 3select "Default messaging provider" and click "OK"; 4 Input "MTP-QCF1" as the name, and "jms/MTP-QCF1" as the JNDI name; 5 Select "MTP-Bus" in the drop down list for "Bus name"; 6 Click "OK" to finish the creation, then save the changes to the master configuration;
If the "SIB_ENDPOINT_ADDRESS" port of your server is not 7276, you need to specify it explicitly in the "Provider endpoint" property. For example, "localhost:7278:BootstrapBasicMessaging" (if the port is 7278).
**Step 4: Create a Queue "MTP-Event-Q": ** 1 Select "Resources" -> "JMS Provider" -> "Default messaging"; 2 Select "JMS Queue", click "New"; Input "MTP-Event-Q" as the name, and "jms/MTP-Event-Q" as the JNDI name; 3 Select "MTP-Bus" in the drop down list for "Bus name"; 4 Select "MTP-Event-Q" in the drop down list for "Queue name"; 5 Click "OK" to finish the creation, then save the changes to the master configuration;
**Step 5: Create an activation specification "MTPEventActivationSpec": ** 1 Select "Resources" -> "JMS Provider" -> "Default messaging"; 2 Select "JMS activation specification", click "New"; 3 Input "MTPEventActivationSpec" as the name, and "eis/MTPEventActivationSpec" as the JNDI name; 4 Select "Queue" as the destination type, input "jms/MTP-Event-Q" as the ; 5 Select "MTP-Bus" as the bus name; 6 Click "OK" to finish the creation, then save the changes to the master configuration;