Hi, Thanks for the quick response. Initially I tried my samples with camel-spring-amqp-1.2 but while trying to add "acknowledgeMode=AUTO" I learned that its supported only in 1.6.2.
After upgrading to 1.6.2 every thing works fine and I can see that the messages are routed fine too, but in the log I see this NPE. Any idea? ------------------------------------ /[PConsumer.SpringAMQPExecutor-1] SpringAMQPProducer INFO Declaring exchange apm.email.topic of type TopicExchange [l-1) thread #1 - amqp-producer] SpringAMQPProducer ERROR Could not deliver message via AMQP java.lang.NullPointerException at amqp.spring.camel.component.SpringAMQPProducer$AMQPProducerTask.run(SpringAMQPProducer.java:149)[camel-spring-amqp-1.6.2.jar:] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_27] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_27] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_27] at java.lang.Thread.run(Thread.java:662)[:1.6.0_27] / ------------------------------------ -- View this message in context: http://camel.465427.n5.nabble.com/Spring-AMQP-Apache-Camel-Component-Released-tp5027785p5744373.html Sent from the Camel - Users mailing list archive at Nabble.com.