- 创建proxy service,服务类型选择
Messaging Service

2.请求消息类型选择
Text
响应消息类型选择None

- 协议选择
jms
路径输入jms://host:port/jms.jms_test_connection_factory1/jms.jms_test_queue

- 类型选择
Queue
,后面步骤都是默认,直到结束。

为了验证该服务确实收到了jms消息,可以在proxy service里面加入report组件查看消息
- 增加
pipeline
,并在Request Pipeline中增加stage
- 在stage1创建Report

参数如下(ps:xpath参数是
.
):

- 往消息队列里写入消息,在
Operations->Message Reports
界面可以看到该消息

网友评论