camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: TimeOut logic in camel
Date Fri, 14 Feb 2014 07:20:40 GMT
Hi

Take a look at some of the EIPs which has support for timeout
built-in, such as recipient list, content enricher etc.


On Fri, Feb 14, 2014 at 7:36 AM, geddamsatish <geddamsatish@gmail.com> wrote:
> is there a way using request -reply pattern i want it using direct end
> point only :)
>
>
> On Fri, Feb 14, 2014 at 1:34 AM, Elvio Caruana (ecaruana) [via Camel] <
> ml-node+s465427n5747276h70@n5.nabble.com> wrote:
>
>> Try switching to a SEDA endpoint (https://camel.apache.org/seda.html),
>> and use a timeout of one second.
>>
>> Elvio
>>
>> -----Original Message-----
>> From: geddamsatish [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=5747276&i=0>]
>>
>> Sent: 13 February 2014 14:32
>> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=5747276&i=1>
>> Subject: TimeOut logic in camel
>>
>> I have route which hits does jobs a,b,c sequentially .I want an SLA of 1
>> sec i.e, if i don't get reply from the route within 1 sec i will send some
>> custom message.
>> or else i will send the reply back to client but the job should continue
>> even after time out.Im using direct endpoint.
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/TimeOut-logic-in-camel-tp5747261.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://camel.465427.n5.nabble.com/TimeOut-logic-in-camel-tp5747261p5747276.html
>>  To unsubscribe from TimeOut logic in camel, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5747261&code=Z2VkZGFtc2F0aXNoQGdtYWlsLmNvbXw1NzQ3MjYxfC04MDE1NDYwMzk=>
>> .
>> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/TimeOut-logic-in-camel-tp5747261p5747287.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message