Re: how could I get multiple different ProducerTemplate instances with Auto-Configured Producer Templates

2018-12-03 Thread Claus Ibsen
Btw mind that in very latest Camel releases we have optimised the http endpoints to try to auto-detect the dynamic aspects of the context-path and optimise themselves. So in that case you may not need to use the header. But I cannot recall without looking in the source, whether we allowed this

Re: Camel Kafka Consumer KafkaException ignored

2018-12-03 Thread Claus Ibsen
Hi Sounds a bit like the chicken and egg, eg the kafka consumer needs to create a valid exchange for Camel to start routing. You can try to set the bridge error handler = true which should catch internal errors and make a "fake" exchange for Camel to route and have its error handler react. But

Re: how could I get multiple different ProducerTemplate instances with Auto-Configured Producer Templates

2018-12-03 Thread Claus Ibsen
Hi No you can use the same template to send to multiple endpoints. Just beware that sending to unlimited number of endpoints uris is not a good practice as an endpoint / producer takes up resource. So in your case with the HTTP endpoint, then its better to use a static uri for the hostname and

Re: Logging the execution time over multiple routes

2018-12-03 Thread Claus Ibsen
Hi Maybe in the custom AggregationStrategy which you can set on the aggregator, you will have the data for the time of the 1st exchange, and then you can store that on the exchange that gets built as the output of the aggregator, and then you can add a step after SAP where you then calculate the

Re: Camel Quartz thread pool

2018-12-03 Thread Claus Ibsen
Hi Can you maybe post more details, such as Camel version, and snippets of your route setup etc. And maybe a bit more about what error happens that you see that exscapes the thread pool, and maybe point to which thread pool exactly. This may incline us to help faster and help look into this. On

Re: Quartz resuming outdated trigger after becoming master

2018-12-03 Thread Claus Ibsen
Hi Afair quartz has a bunch of options you can use to configure how it should take action on mis-fired jobs when starting up etc. Its not trivial to find the right setup, but I suggest to look at the documentation in both camel quartz and also quartz itself. On Tue, Nov 13, 2018 at 11:08 AM

R: Re: Creating a subscription between an AWS SNS Topic and an AWS SQS Queue

2018-12-03 Thread Andrea Cosentino
Yes. Need to check but I created it :-) Inviato da Yahoo Mail su Android Il lun, 3 dic, 2018 alle 19:03, Claus Ibsen ha scritto: Hi Just catching up on old emails. Was there a JIRA ticket logged about this? On Thu, Nov 8, 2018 at 7:07 PM Andrea Cosentino wrote: > > Actually it's not

Re: dealing with exceptions in onExceptions definitions

2018-12-03 Thread Claus Ibsen
Hi This is by design, to avoid circular onException to trigger in endless. So try to design your error handling in a more safe manner On Tue, Nov 13, 2018 at 10:23 AM Dennis Holunder wrote: > > Hello, > > I have two onException definitions which catch exceptions and send > them to

Re: Creating a subscription between an AWS SNS Topic and an AWS SQS Queue

2018-12-03 Thread Claus Ibsen
Hi Just catching up on old emails. Was there a JIRA ticket logged about this? On Thu, Nov 8, 2018 at 7:07 PM Andrea Cosentino wrote: > > Actually it's not possible. Please raise a JIRA for an improvement in this > area. > > I think we'll have to resolve the problem of being able to subscribe,

Configuring a CFXEndPoint with multiple certificates

2018-12-03 Thread Richard Davis
We are trying to make client requests to a SOAP web service using the Apache CXF component from a central Camel server. The endpoint is always the same address, however, the owner of the endpoint wants a different SSL certificate depending on which of our high street stores the request