Hi,

I looking with async components that can do like below 


Which the http component can wait for callback before responding back to the request 

Thanks


On 26 Sep 2022, at 11:18 PM, Jeremy Ross <jeremy.g.r...@gmail.com> wrote:

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 <raymondmees...@gmail.com> 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 pass it to Kafka.

Raymond



On Sun, Sep 25, 2022 at 4:14 PM Chio Chuan Ooi <chioch...@gmail.com>
wrote:

Hi All,

I am trying to create an application which can expose the http route
which
publishes messages to kafka and can listen to all webhook to return to
as a
response.

Is there any component in Camel that I can use for that purpose?

        ,-----.       ,-----.        ,-----.
        |camel|       |other|        |other|
        `-+---'       `-+---'        `-+---'
 http req |             |              |
 -------->|             |              |
          |  kafka      |              |
          |------------>|              |
          |             |  kafka       |
          |             |------------->|
          |             |              |
          |        http request        |
          |<------------+--------------|
          |-------------+------------->|
          |        http response       |
  http res|             |              |
 <--------|             |              |





Thanks and Regards,
Chio Chuan


Reply via email to