RE: Jetty and the Invalid SNI

2023-09-21 Thread Mattern, Alex
Fyodor, Assuming all testers have the same or a small number of for their localhost, you can create one keystore for testing and have it packaged with the tests. -- Alex Alex Mattern | AVP | Infomediary Architect | Investor Services BROWN BROTHERS HARRIMAN 50 Post Office Square, Boston, MA 02

Re: Jetty and the Invalid SNI

2023-09-21 Thread Fyodor Kravchenko
Hi, thank you, seems no-one will be able to test my app without the hassle of creating their own keystore, right? /fedd On 21.09.2023 17:13, Mattern, Alex wrote: On converting from Camel 3.x to 4.x: 1. You should get the canonicalHostName public static String getHostName() {

RE: Jetty and the Invalid SNI

2023-09-21 Thread Mattern, Alex
On converting from Camel 3.x to 4.x: 1. You should get the canonicalHostName public static String getHostName() { try { return InetAddress.getLocalHost().getCanonicalHostName(); } } 2. You should update your keystore to acc

Re: Jetty and the Invalid SNI

2023-09-21 Thread Fyodor Kravchenko
Hello, I don't really want to use Jetty, but I'm currently migrating my project that uses Jetty from Camel 2 via 3 to 4. I'll be able to use something different when it starts working with Jetty so I'm able to fix every other functionality before switching to a different web server. Unfortuna

Re: How do I setup camel-rest in combination with spring-webflux-netty?

2023-09-21 Thread Claus Ibsen
Hi Use the platform-http for the consumer - then you use what spring comes with as http server. On Thu, Sep 21, 2023 at 1:04 PM Alphonse Bendt wrote: > Hi folks, > > Within a Spring boot application I want to use camel-rest as consumer to > be able to define rest endpoints: > > from(„rest://ge

How do I setup camel-rest in combination with spring-webflux-netty?

2023-09-21 Thread Alphonse Bendt
Hi folks, Within a Spring boot application I want to use camel-rest as consumer to be able to define rest endpoints: from(„rest://get/hello-world“).constant(„Some static content“) This works fine with the spring-boot-starter-web which uses Tomcat: Get http://localhost:8080/rest/hello-world =>

Re: Jetty and the Invalid SNI

2023-09-21 Thread Claus Ibsen
Hi Do you really need to use Jetty? If you use Spring Boot or Quarkus they come with HTTP server which you can configure for TLS/SSL more easier than Jetty. On Mon, Sep 18, 2023 at 12:30 PM Fyodor Kravchenko wrote: > Hello, > > I'm missing how do I set up the new Jetty in Camel 4 to let me acce

Re: JMS Batch Consumer

2023-09-21 Thread Claus Ibsen
Hi You can use the aggregator to batch X before sending it to kafka. However I know that then this is decoupled from JMS and those batched messages are stored in-memory by the camel aggregator before they send to kafka. There are some JIRA about batching kafka support (consumer side). And in gene