Skip to content

Instantly share code, notes, and snippets.

@fjunior87
Created April 11, 2017 04:32
Show Gist options
  • Save fjunior87/76ce2ca827325ef572e437c4888d53c7 to your computer and use it in GitHub Desktop.
Save fjunior87/76ce2ca827325ef572e437c4888d53c7 to your computer and use it in GitHub Desktop.
Sample Proxy Service that consumes messages from OracleAQ Queue
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="AQProxyService"
transports="oracleaq"
startOnLoad="true">
<description/>
<target>
<inSequence>
<log level="full"/>
</inSequence>
<outSequence/>
<faultSequence/>
</target>
<parameter name="transport.jms.DestinationType">queue</parameter>
<parameter name="transport.jms.Destination">QUEUE_NAME</parameter>
<parameter name="transport.jms.ContentType">
<rules xmlns="">
<jmsProperty>contentType</jmsProperty>
<default>application/xml</default>
</rules>
</parameter>
<parameter name="transport.jms.ConnectionFactory">myQueueConnectionFactory</parameter>
</proxy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment