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 >