...
Code Block | ||||
---|---|---|---|---|
| ||||
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="SMSSenderProxy"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<property name="transport.jms.ContentTypeProperty"
value="Content-Type"
scope="axis2"/>
</inSequence>
<outSequence>
<property name="TRANSPORT_HEADERS" scope="axis2" action="remove"/>
<send/>
</outSequence>
<endpoint>
<address uri="jms:/SMSStore?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory&java.naming.provider.url=repository/conf/jndi.properties&transport.jms.DestinationType=queue&transport.jms.ReplyDestination=SMSReceiveNotificationStore"/>
</endpoint>
</target>
<description/>
</proxy> |
...
The endpoint of this proxy service uses the following properties to map the proxy service with the Broker Profile.
Property | Value for this use case | Description |
---|---|---|
address uri |
| The destination in which the request received by the proxy service is stored. |
java.naming.factory.initial |
| This property specifies the The initial context factory to use. |
java.naming.provider.url | repository/ | The location of the JNDI service provider. |
transport.jms.DestinationType | queue | The destination type of the JMS message that will be generated by the proxy service. |
transport.jms.ReplyDestination |
| The destination in which the response generated by the back-end service is stored. |
...