Re: HTTP handlers with Camel Undertow endpoint

2023-02-24 Thread Arnaud Level
Hi Claus, sorry I forgot to mention it: 3.18.0 On Fri, Feb 24, 2023 at 1:31 PM Claus Ibsen wrote: > What Camel version do you use > > On Fri, Feb 24, 2023 at 12:04 PM Arnaud Level > wrote: > > > Hi, > > > > We are trying to configure a HTTP handler on our Undertow endpoint: > >

Re: HTTP handlers with Camel Undertow endpoint

2023-02-24 Thread Claus Ibsen
What Camel version do you use On Fri, Feb 24, 2023 at 12:04 PM Arnaud Level wrote: > Hi, > > We are trying to configure a HTTP handler on our Undertow endpoint: > rest("/items/{itemId}/colors?handlers=authorizationHandler") > .get("/").to("direct:xxx"); > > The

HTTP handlers with Camel Undertow endpoint

2023-02-24 Thread Arnaud Level
Hi, We are trying to configure a HTTP handler on our Undertow endpoint: rest("/items/{itemId}/colors?handlers=authorizationHandler") .get("/").to("direct:xxx"); The AuthorizationHandler class implements org.apache.camel.component.undertow.CamelUndertowHttpHandler Camel throws the

Re: Pausable Kafka Consumer Unit Test

2023-02-24 Thread Otavio Rodolfo Piske
My email missed the second paragraph, so, to clarify: I wanted to provide you with a link to the tests we have on our own code base. I believe you can use this as a reference for writing your own test/reproducer/etc. On Fri, Feb 24, 2023 at 10:55 AM Otavio Rodolfo Piske wrote: > Hi folks, sorry

Re: Pausable Kafka Consumer Unit Test

2023-02-24 Thread Otavio Rodolfo Piske
Hi folks, sorry for the late reply. Things are a bit busy at the moment. They are available here: https://github.com/apache/camel/tree/main/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/pause. One of them is a simple Pausable consumer example whereas the other