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;

[b]Step 1: Create a service bus "MTP-Bus":[/b]
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;

[b]Step 2: Create a bus destination "MTP-Event-Q"; [/b]
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;


[b]Step 3: Create a Queue Connection Factory "MTP-QCF1": [/b]
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).

[b]Step 4: Create a Queue "MTP-Event-Q": [/b]
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;

[b]Step 5: Create an activation specification "MTPEventActivationSpec": [/b]
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;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值