Re: how to create Camel HTTP route with async handling

2022-10-04 Thread Chirag
In your scenario, how do you invoke route 1 from source ? On Mon, Oct 3, 2022, 06:10 Chio Chuan Ooi wrote: > Hi, > > But in the camel route, how to have the route to wait for the webhook. > > Eventually, I need to expose 2 http consumer routes which 1 is for the > request and another is for the

Re: how to create Camel HTTP route with async handling

2022-10-02 Thread Chio Chuan Ooi
Hi, But in the camel route, how to have the route to wait for the webhook. Eventually, I need to expose 2 http consumer routes which 1 is for the request and another is for the webhook. After the request receipt from route 1, it will make an async call then holding the thread and waiting for the

Re: how to create Camel HTTP route with async handling

2022-09-27 Thread ski n
With the Jetty component you set the option: *continuationTimeout* to 0 which means it will never expire (default is 30 seconds). When you use a JMS Broker (like ActiveMQ) there also an option to set the request Timout ( https://camel.apache.org/components/3.18.x/jms-component.html) and for Kafka

Re: how to create Camel HTTP route with async handling

2022-09-27 Thread chiochuan
Hi,I looking with async components that can do like below Flowchart Maker & Online Diagram Softwareviewer.diagrams.netWhich the http component can wait for callback before responding back to the request ThanksOn 26 Sep 2022, at 11:18 PM, Jeremy Ross wrote:The REST component as well.https://camel.

Re: how to create Camel HTTP route with async handling

2022-09-26 Thread Jeremy Ross
The REST component as well. https://camel.apache.org/components/3.18.x/rest-component.html On Mon, Sep 26, 2022 at 8:40 AM ski n wrote: > I would check the Jetty component: > > https://camel.apache.org/components/3.18.x/jetty-component.html > > The Jetty component can consume HTTP requests and

Re: how to create Camel HTTP route with async handling

2022-09-26 Thread ski n
I would check the Jetty component: https://camel.apache.org/components/3.18.x/jetty-component.html The Jetty component can consume HTTP requests and pass it to Kafka. Raymond On Sun, Sep 25, 2022 at 4:14 PM Chio Chuan Ooi wrote: > Hi All, > > I am trying to create an application which can e