I am not able to consume any messages from rabbitMQ using camel-rabbitmq
component.

 

=================================================

Camel flow

=================================================

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans";

       xmlns:camel="http://camel.apache.org/schema/spring";

       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

       http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd";>

 

  <camelContext trace="false" xmlns="http://camel.apache.org/schema/spring";>

  <route>

    <from
uri="rabbitmq:localhost:5672/observation?username=guest&amp;password=guest&a
mp;routingKey=observation&amp;autoDelete=false"/>

    <to uri="file:target/messages/consume/RabbitMQ"/>

  </route>

</camelContext>

</beans>

 

Reply via email to