Created
April 11, 2017 04:32
-
-
Save fjunior87/76ce2ca827325ef572e437c4888d53c7 to your computer and use it in GitHub Desktop.
Sample Proxy Service that consumes messages from OracleAQ Queue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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