EventNotifier and direct/seda endpoints in Camel 4

2023-08-01 Thread ski n
Currently, I use the EventNotifier to collect events in Camel: https://www.javadoc.io/doc/org.apache.camel/camel-api/3.21.0/org/apache/camel/spi/CamelEvent.html I have integrations that consist of 1 or more routes like this: To route between two routes I use either: - direct-vm

Re: How to read data from a paginated API and upload it as multipart file to S3 page by page

2023-08-01 Thread Claussnitzer, Ralf
Hi Sahil, as far as I know the HTTP producer does not support polling based on headers. You could trigger the individual HTTP requests by using sort of an event loop: Event/Message driven consumer route (direct or jms) that makes the actual request and emits a follow-up event for the next page

Re: loading routes from external xml files

2023-08-01 Thread ski n
OK, good to know as I use this functionality also heavily. Some questions/remarks about this: 1. What's the reason that it was (re)moved? Is there a new concept behind the PluginHelper? 2. Maybe good to add this to the migration guide (

Re: EventNotifier and direct/seda endpoints in Camel 4

2023-08-01 Thread Claus Ibsen
Hi No there is not On Tue, Aug 1, 2023 at 8:49 AM ski n wrote: > Currently, I use the EventNotifier to collect events in Camel: > > > https://www.javadoc.io/doc/org.apache.camel/camel-api/3.21.0/org/apache/camel/spi/CamelEvent.html > > I have integrations that consist of 1 or more routes like

Re: EventNotifier and direct/seda endpoints in Camel 4

2023-08-01 Thread Claus Ibsen
Hi Yes you can use steps to group X together and have events emitted for start/complete On Tue, Aug 1, 2023 at 9:13 AM ski n wrote: > Would this possibly work? > > > > > > > > > > > > And then use the StepStartEvent (or StepCompletedEvent). Or is this on

Re: EventNotifier and direct/seda endpoints in Camel 4

2023-08-01 Thread ski n
Would this possibly work? And then use the StepStartEvent (or StepCompletedEvent). Or is this on on lifecycle level and not on a message exchange level? -- Raymond On Tue, Aug 1, 2023 at 8:58 AM Claus Ibsen wrote: > Hi > > No there is not > > On Tue,

Re: loading routes from external xml files

2023-08-01 Thread Ricardo Garcia
@ski n Simply: camelContext.getRoutesLoader() -> org.apache.camel.support. PluginHelper.getRoutesLoader(camelContext) On Tue, Aug 1, 2023 at 8:34 AM ski n wrote: > OK, good to know as I use this functionality also heavily. Some > questions/remarks about this: > > 1. What's the reason that it

Re: ZeroMQ component

2023-08-01 Thread Andrea Cosentino
Until the license is not compatible with ASF license, we can't take into account to move it in the Apache Camel repository. Il mar 1 ago 2023, 17:40 Nicolas Filotto ha scritto: > Hi, > > AFAIK the components in camel-extra have been moved there because their > license is not compatible with an

ZeroMQ component

2023-08-01 Thread Mark Webb
I know that the camel-zeromq component exists in the camel-extra repo, is there any chance it could once again find its way into the current "official" trunk? I'd even be willing to lead and support the effort. I'd prefer to make it based off of JeroMQ and not the Akka version. Would this be

Re: ZeroMQ component

2023-08-01 Thread Nicolas Filotto
Hi, AFAIK the components in camel-extra have been moved there because their license is not compatible with an Apache License which is a requirement to be in the camel repository. In the case of ZeroMQ, it seems that the license is a Mozilla Public License version 2.0 which is more restrictive

Re: ZeroMQ component

2023-08-01 Thread Mark Webb
Ahh that makes sense and is also very unfortunate. Thanks for the info. On Tue, Aug 1, 2023, 11:45 AM Andrea Cosentino wrote: > Until the license is not compatible with ASF license, we can't take into > account to move it in the Apache Camel repository. > > Il mar 1 ago 2023, 17:40 Nicolas

Connection Pooling in (S)FTP Component

2023-08-01 Thread ICS460-BAI
Hi, can somebody support us here please? We tried without pooling the connections and just using disconnect! However with hundreds of flows these constant reconnects are too much for the servers Any idea what we can do here? Thanks Christian [signature_3350928388]