camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <aka...@fusesource.com>
Subject Re: camel not receiving messages from AMQP endpoint
Date Wed, 01 Dec 2010 12:37:36 GMT

Hi,

I am not sure whether the camel context auto registers "amqp:" uri scheme as
something to be associated with the amqpComponent.

You may need to educate the camel context by doing 
   camelContext.addComponent("amqp",
amqpComponent("amqp://guest:guest@/test?brokerlist='vm://:1'"));

Not sure how to do this is Spring though... You may need to create a context
using a routebuilder and do the above in the configure method.

For an example of how to do this check out the link below

https://svn.apache.org/viewvc/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java?revision=1027378&view=markup
https://svn.apache.org/viewvc/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java?revision=1027378&view=markup


Hope this helps.

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: http://camel.465427.n5.nabble.com/camel-not-receiving-messages-from-AMQP-endpoint-tp511907p3287590.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message