今天又被WSO2的官方文档坑了一把。
按官网的教程配置WSO2 EI与IBM MQ的集成后,从IBM MQ的queue中取报文没有遇到问题,然而往queue里写报文却遇到了麻烦。
先上最终配置成功的proxy:
<?xml version="1.0" encoding="UTF-8"?>
<proxy name="MQTest2" startOnLoad="true" transports="http" xmlns="http://ws.apache.org/ns/synapse">
<target>
<inSequence>
<property name="OUT_ONLY" scope="default" type="STRING" value="true"/>
<header action="remove" name="User-Agent" scope="transport"/>
<header action="remove" name="Content-Type" scope="transport"/>
<header action="remove" name="Transfer-Encoding" scope="transport"/>
<send description