Skip to content

Instantly share code, notes, and snippets.

@dunithd
Created January 13, 2021 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dunithd/924d4844c37874fd0e9bf093abcb856d to your computer and use it in GitHub Desktop.
Save dunithd/924d4844c37874fd0e9bf093abcb856d to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<proxy name="TaskProcessorProxy" startOnLoad="true" transports="rabbitmq" xmlns="http://ws.apache.org/ns/synapse">
<target>
<inSequence>
<log level="custom">
<property expression="//Message/ID" name="[x] Message Received. ID: "/>
</log>
</inSequence>
<outSequence/>
<faultSequence/>
</target>
<parameter name="rabbitmq.queue.auto.ack">false</parameter>
<parameter name="rabbitmq.channel.consumer.qos">1</parameter>
<parameter name="rabbitmq.queue.name">tasks</parameter>
<parameter name="rabbitmq.connection.factory">AMQPConnectionFactory</parameter>
<parameter name="rabbitmq.message.content.type">application/xml</parameter>
</proxy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment