Reading the payload data inside out sequence for binary relay in wso2esb 4.0.3

StackOverflow https://stackoverflow.com/questions/17876845

  •  04-06-2022
  •  | 
  •  

We have a proxy service(ESB 4.0.3) that reads from JMS queue (JMS 1.0) and calls a rest service .We are using binary relay for application/json using binary builder and formatter in axis2.xml

    <messageBuilder contentType="application/json"
                    class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
    <messageFormatter contentType="application/json"
                      class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>

This backend rest service returns an identifier and this has to be processed in the out sequence of the proxy service.Now the challenge here is to read the response which is a binary payload in the ESB sequence and capture that response identifier.

How to read the binary data in the out sequence of WSO2 ESB 4.0.3?

没有正确的解决方案

其他提示

You can use builder mediator, which is used to build the message

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top