Versions Compared

Key

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

...

Code Block
<camelContext id="CamelContextID"
              xmlns="http://camel.apache.org/schema/spring">
  <route>
    <from uri="jms:queue:payments"/>
    <process ref="someProcessorId"/>
    <to uri="TargetURI"/>
  </route>
</camelContext>

Producer endpoints

This is an endpoint that appears in the middle or at the end of a route (ie., in a to() DSL command). The producer endpoint receives an existing exchange object and then proceeds to send the contents of the exchange to the specified endpoint.

Code Block
  <route>
    <from uri="StartURI"/>
    <process ref="myProcessorId"/>
    <to uri="jms:queue:orderForm"/>
  </route>