简体   繁体   English

ESB WSO2中的2个代理服务

[英]2 proxy service in ESB WSO2

I use WSO2 ESB (v4.8.1) and I have to do something like this. 我使用WSO2 ESB(v4.8.1),我必须做这样的事情。 I have two proxy services. 我有两个代理服务。 One is jms, second is http. 一个是jms,第二个是http。 First service gets message from a queue and turns a builder to process the message. 第一服务从队列中获取消息,然后使构建器处理该消息。 After that, service should send via http this message to second service. 之后,服务应通过http将此消息发送给第二个服务。

In first service after process message I have: 在处理消息后的首次服务中,我有:

 <outSequence>
     <send>
        <endpoint>
           <http method="post" uri-template="http://localhost:port/services/Two"/>
        </endpoint>
     </send>
  </outSequence>

In second service: 在第二服务中:

 <inSequence>
     <log level="custom">
        <property name="serviceTwo" value="Service Two starts...."/>
     </log>
  </inSequence>

The problem is, the second proxy service doesn't get this message. 问题是,第二个代理服务没有收到此消息。 Anybody knows how to fix it? 有人知道如何解决吗?

嗨,您为什么要发送乱序,应该是乱序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM