Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNote
  • A sequence should be designed with a call/respond or send/receive sequence. It is not recommended to use a sequence that has in and out mediators.
  • If a send mediator is used within the inbound endpoint sequence, specify a receiving sequence. If you do not specify a receiving sequence, the response will dispatch to the main sequence.

For a sample that demonstrates how an HTTP inbound endpoint can act as a dynamic http listener, see    Sample 902: HTTP Inbound Endpoint Sample

Worker pool configuration parameters

...

Code Block
<proxy xmlns="http://ws.apache.org/ns/synapse" name="InboundProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
	<target>
     	<outSequence>
        	<send/>
     	</outSequence>
     	<endpoint>
        	<address uri="http://localhost:9773/services/HelloService/"/>
     	</endpoint>
   	</target>
   	<parameter name="inbound.only">true</parameter>
</proxy>

Samples

For a sample that demonstrates how a HTTP inbound endpoint can act as a dynamic http listener, see Sample 902: HTTP Inbound Endpoint Sample.