Versions Compared

Key

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

...

The ActiveMQ JMS broker is also configured in this xml file. We set it up to listen on TCP port 6161661610.

Wiki Markup
{snippet:id=e4|lang=xml|url=camel/trunk/examples/camel-example-spring-jms/src/main/resources/META-INF/spring/camel-server.xml}

...

Switching to a different component is just a matter of using the correct endpoint. So if we had defined a TCP endpoint as: "mina:tcp://localhost:6161661610" then its just a matter of getting hold of this endpoint instead of the JMS and all the rest of the java code is exactly the same.

...