Yeah, you can call the external API in a processor to setup the headers which 
could be use by the recipient-list to implement the CBR.

-- 
Willem Jiang

FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Tuesday, August 21, 2012 at 1:01 AM, Taariq Levack wrote:

> Hi
> 
> Yes, the CBR is rightly based on content, I think you want the recipient list 
> [1].
> 
> [1] http://camel.apache.org/recipient-list.html
> 
> Taariq
> 
> On 20 Aug 2012, at 18:09, gilboy <josephoto...@gmail.com 
> (mailto:josephoto...@gmail.com)> wrote:
> 
> > Hi
> > 
> > The content based router does not appear to support the routing of a message
> > to a particular destination based on a call to an external API. The examples
> > I have looked at appear to support the routing of messages to a destination
> > based on the message content.
> > 
> > In a nutshell, I want to use a Content Based Router were the destination is
> > determined by making a call to an API. In other words, the API will return
> > "PATH1", "PATH2" etc which map to different destinations
> > 
> > Any help much appreciated
> > 
> > Thanks
> > Joe
> > 
> > 
> > 
> > --
> > View this message in context: 
> > http://camel.465427.n5.nabble.com/Content-Based-Router-Query-tp5717722.html
> > Sent from the Camel - Users mailing list archive at Nabble.com 
> > (http://Nabble.com).
> 



Reply via email to