Versions Compared

Key

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

...

Code Block
java
java
<camelContext id="camelContext" xmlns="http://activemq.apache.org/camel/schema/spring">
  <route>
    <from uri="direct:CustomerService" />
    <to uri="jms://net.enbw.services.etg.examples.queue:CustomerService" />
  </route>
</camelContext>

You can make it even easier

If you only want to attach your cxf service to a jms queue and do not need the routing capabilities of Apache Camel you can use a Camel jms endpoint instead of a camel direct endpoint:

Code Block
xml
xml

address="camel:jms:queue:CustomerService"

Running the Example

...