我正在使用 wso2esb4.7.0 和 ActiveMQ5.8.0 http://docs.wso2.org/display/ESB470/ESB+as+a+JMS+Producer和http://docs.wso2.org/display/ESB470/ESB+ as+a+JMS+Consumer 根据我已经完成的文档,我的消息很好地传递到队列。即使存储也很好。同时将消息放入队列 Wso2esb 给出格式等问题
ERROR - JMSMessageReceiver Unknown error processing message
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
为什么会发生这种情况,是否有任何消息格式问题,我只传递了示例 json,例如
curl -v -H "Accept: application/json" -H "Content-Type:application/json" -H "ModifiedOn:0" -H "username:vikaash|21405735755158656" -H "password:gbin" -d '{"name":"youtility tech","mail":"faisal.shaik@youtility.in"}' http://youtility2-desktop:8282/services/JmsStore
我们如何向客户发送响应
http://stackoverflow.com/questions/18440789/how-to-give-a-response-to-client-using-wso2esb-jmsqueue