THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<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 | ||||
---|---|---|---|---|
| ||||
address="camel:jms:queue:CustomerService"
|
Running the Example
- Download the example project here
- Follow the readme.txt
...