The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

gsilverman (2) [Avatar] Offline
#1
The camel-client.xml in starterkit of chapter14 in the 2.9.0 version of camelinaction-source won't work.

Actually, you need to make the following 2 changes to the example:

1) Add the following route to the camelContext:
<route>
<from uri="activemq:queue:rider"/>
<to uri="bean:activemq"/>
</route>


2) Remove the camel-server.xml reference from the ClassPathXmlApplicationContext in StarterKitClientTest.java. Running with this on the same machine as the server will generate a port-already-in-use error at startup.
davsclaus (413) [Avatar] Offline
#2
Re: Example starterkit error in spring configuration files
Thanks for sharing this.

Will look into this when a new Camel release is due.

In reality the sever is supposed to run on an external box, but of course developers run this stuff locally on their computer. So we ought to make it run locally as well.