Apache Shiro and REST DSL routes

2023-01-17 Thread Mark Webb
Is there any documentation or examples that I can look at to understand how I can secure my Camel REST routes? Ideally I'd like to leverage Keycloak and Shiro for my AuthN/AuthZ. Let me know if there is anything out there I can leverage. Thanks

Re: Empty stream for gzipped response

2023-01-17 Thread Dmitri T
Sure. The Server is jetty from camel-jetty. Message body is: org.apache.camel.converter.stream.InputStreamCache for exchange.getIn().getBody() (empty) org.apache.camel.converter.stream.ByteArrayInputStreamCache for message.getBody() (not empty) вт, 17 янв. 2023 г. в 16:59, Claus Ibsen : > > Hi > >

Re: Empty stream for gzipped response

2023-01-17 Thread Claus Ibsen
Hi Thanks for reporting. Can you tell a bit more about what HTTP server you are using? And what class type the message body is at that moment in doWriteGZIPResponse? If the body is not an instance of InputStream then what type is that body of yours? On Tue, Jan 17, 2023 at 1:03 PM Dmitri T wrot

Empty stream for gzipped response

2023-01-17 Thread Dmitri T
Hello. After upgrading from Camel 3.7.x to the recent version, gzipped response (Content-Encoding: gzip) from a route comes empty. I have found an issue CAMEL-13092 (fixed in Camel 3.10) which caused that in camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java (line