You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by miri eyni <mi...@sapiens.com> on 2016/05/23 10:39:14 UTC
Routing with logic
hi
i need to implement routing with processing.
processing the request should read from different APIs (external API ) for
create a new request to the endpoint.
how is the best way to implements it?
--
View this message in context: http://camel.465427.n5.nabble.com/Routing-with-logic-tp5782944.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Routing with logic
Posted by Quinn Stevenson <qu...@pronoia-solutions.com>.
I’ve done stuff like this before using a timer to schedule polling the external system via their APIs. Sometimes you can use Camel’s bean binding to invoke their APIs and get what you’re after. However, I have implemented Camel Processors before to do this.
If you can provide more detail about what you’re trying to do, that would help
> On May 23, 2016, at 2:08 PM, Steve Huston <sh...@riverace.com> wrote:
>
> I am not a Camel expert, but one way to approach this would be to have a process that reads from your external APIs and put the resulting messages into a queue (for example, using AMQP). Then your camel route can read messages 'from' the queue.
>
> If your external APIs have a camel component integration, that would be easier.
>
> -Steve Huston
>
>> -----Original Message-----
>> From: miri eyni [mailto:miri.eyni@sapiens.com]
>> Sent: Monday, May 23, 2016 6:39 AM
>> To: users@camel.apache.org
>> Subject: Routing with logic
>>
>> hi
>> i need to implement routing with processing.
>> processing the request should read from different APIs (external API ) for
>> create a new request to the endpoint.
>>
>> how is the best way to implements it?
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/Routing-
>> with-logic-tp5782944.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
RE: Routing with logic
Posted by Steve Huston <sh...@riverace.com>.
I am not a Camel expert, but one way to approach this would be to have a process that reads from your external APIs and put the resulting messages into a queue (for example, using AMQP). Then your camel route can read messages 'from' the queue.
If your external APIs have a camel component integration, that would be easier.
-Steve Huston
> -----Original Message-----
> From: miri eyni [mailto:miri.eyni@sapiens.com]
> Sent: Monday, May 23, 2016 6:39 AM
> To: users@camel.apache.org
> Subject: Routing with logic
>
> hi
> i need to implement routing with processing.
> processing the request should read from different APIs (external API ) for
> create a new request to the endpoint.
>
> how is the best way to implements it?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Routing-
> with-logic-tp5782944.html
> Sent from the Camel - Users mailing list archive at Nabble.com.