Port 8161 tends to be the port to access the AMQ Web Console from a browser. You should make Camel connect to the transportConnector exposed by ActiveMQ, which by default listens on port 61616. Check the <transportConnector /> element of the AMQ broker XML configuration file.
Does this help?
Regards,
Raúl.
On Mar 5, 2013, at 22:25, jdev.hari wrote:
>
> ActiveMQComponent.activeMQComponent("tcp://localhost:8161"));
> context.addRoutes(new RouteBuilder() {
