RabbitMQ AMQP Transport Support in WSO2 ESB 4.8

非 Y 不嫁゛ 提交于 2019-12-30 14:56:44

问题


http://docs.wso2.org/display/ESB480/RabbitMQ+AMQP+Transport i have gone through this example to get RabbitMQ AMQP transport support in WSO2 ESB 4.8 but i am getting following error during the Creation of the RabbitMQ Proxy Service. Unable to generate proxy data from source: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[16,93]Message: The reference to entity 'rabbitmq.server.port' must end with the ';' delimiter. any solution ??

thanks


回答1:


Admin console "complains" about unescaped & (ampersand) character.

If you change the line with endpoint address by replacing & with & you should be able to save the service and continue your experiments with WSO2 ESB and RabbitMQ.

Example entry:

<address uri="rabbitmq://AMQPProxy?rabbitmq.server.host.name=localhost&amp;rabbitmq.server.port=5672&amp;rabbitmq.server.user.name=guest&amp;rabbitmq.server.password=guest&amp;rabbitmq.queue.name=queue2&amp;rabbitmq.exchange.name=exchange2"/>


来源:https://stackoverflow.com/questions/20800313/rabbitmq-amqp-transport-support-in-wso2-esb-4-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!