You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kfightmaster <kf...@gmail.com> on 2010/08/11 16:14:12 UTC

Spring and Camel

Currently I'm using Spring to configure my routes. And using the @Service tag
to identify my services. However, this setup seems to limit me to one class
for one endpoint.

I'm hoping to get the simplest example of mapping multiple endpoints to one
service class using Spring and Camel. Any help would be appreciated. 

thanks,
Kevin
-- 
View this message in context: http://camel.465427.n5.nabble.com/Spring-and-Camel-tp2471938p2471938.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring and Camel

Posted by kfightmaster <kf...@gmail.com>.
Not sure why it was alluding me... but I found the solution. In the spring
bean file I could use:

"method=methodname"

<to uri="bean:alert.queue?method=noMethod" />
-- 
View this message in context: http://camel.465427.n5.nabble.com/Spring-and-Camel-tp2471938p2472515.html
Sent from the Camel - Users mailing list archive at Nabble.com.