Re: AS2/AS3 for EDI

2020-01-09 Thread Yih Tsern
For technical support, you can hire any of the consultants listed in https://camel.apache.org/manual/latest/commercial-camel-offerings.html. On Fri, Jan 10, 2020 at 10:02 AM +0800, wrote: Hello All, Disclaimer: I am not technical. I think (or assume) that Apache Camel can prov

Re: sFTP with multiple consumers and idempotent routes: file exceptions

2020-01-09 Thread Claus Ibsen
Hi The changed read-lock is not for competing consumers. But its for "the file is currently being written and is not ready for any consumer to download the file .. problem". For competing consumers across nodes you need a read lock and idempotent repository that works for these uses cases. If you

AS2/AS3 for EDI

2020-01-09 Thread rana
Hello All, Disclaimer: I am not technical. I think (or assume) that Apache Camel can provide AS2/AS3 protocol to exchange EDI messages. If I am wrong in my above assumption then remaining message is not appropriate. If my assumption correct, I need help on the following: End Goal: To set up

sFTP with multiple consumers and idempotent routes: file exceptions

2020-01-09 Thread Mark Harris
Hello, I'm using Apache Camel version 2.24.2. I a Camel route that is processing files located an sFTP server. There are multiple nodes running the application where the route is located, so I have added file locking in an attempt to ensure only a single node process each file. The route URI l

Re: Custom RouteBuilder instance returned to camelContext.addRoutes() misses out on routeDefinitions

2020-01-09 Thread Willem Jiang
Hi Rejiļ¼Œ Normally common user doesn't need to care about how the RouteBuilder is added the CamelContext, as Camel already wraps this code up. But according to your description, it looks like you are creating a new CamelContext and add a new customized RouteBuilder into it. Please double check if y

Custom RouteBuilder instance returned to camelContext.addRoutes() misses out on routeDefinitions

2020-01-09 Thread Reji Mathews
Hello Camel community! Am currently using camel version 2.24.1. I have a code which starts a camel context by passing an instance of RouteBuilder to it. It looks as follows. newCamelContext.addRoutes(new MySmartRouteBuilder(flow)); newCamelContext.start(); Problem : When the application reboo

Re: Life time of Exchange Properties while splitting a (JSON) message

2020-01-09 Thread Claus Ibsen
Hi Ah yeah claim check stores on the exchange, so you would need to use a custom aggregation strategy on the splitter. There are built-in in Camel such as use-latest you can use. org.apache.camel.builder.AggregationStrategies#useLatest On Thu, Jan 9, 2020 at 3:24 PM Gerald Kallas wrote: > > Hi

Re: Life time of Exchange Properties while splitting a (JSON) message

2020-01-09 Thread Gerald Kallas
Hi Claus, tx for the response. I tried the claim check EIP like .. ... $.consumer[*] XXX ... but it doesn't seem to work. After the split loop I'm always getting the same body as before the split loop. Do I something wrong here? Best - Gerald > Claus

Re: Life time of Exchange Properties while splitting a (JSON) message

2020-01-09 Thread Claus Ibsen
Hi You can use claim check EIP or use a custom aggregation strategy with your splitter to tell Camel what data to merge as the result of the splitter. On Thu, Jan 9, 2020 at 1:01 PM Gerald Kallas wrote: > > Dear community, > > I've following snippet > > > > $.consumer[*] > ... > name="consume

Re: Refactoring classes in Camel 3.0.0 - where to find classes for a custom aggregation strategy

2020-01-09 Thread Andrea Cosentino
https://camel.apache.org/manual/latest/camel-3-migration-guide.html#_generic_information "The class org.apache.camel.processor.aggregate.AggregationStrategy has been moved to org.apache.camel.AggregationStrategy." https://github.com/apache/camel/blob/master/core/camel-api/src/main/java/org/apache

Refactoring classes in Camel 3.0.0 - where to find classes for a custom aggregation strategy

2020-01-09 Thread Gerald Kallas
Dear community, I'm going to write a custom aggregation strategy with Camel 3.0.0 with imports like import org.apache.camel.Exchange; import org.apache.camel.processor.aggregate.AggregationStrategy; (worked for 2.15) As Camel 3.0.0 has been refactored, in which package can I find these 2 classe

Life time of Exchange Properties while splitting a (JSON) message

2020-01-09 Thread Gerald Kallas
Dear community, I've following snippet $.consumer[*] ... ${in.body} As I made the experience the lifetime of an exchange property is limited to inside the split boundaries. Is there an other way (except a custom aggregation strategy) to define a context wide variable? Best - Gerald

WildFly-Camel 11.0.0 released

2020-01-09 Thread Thomas Diesler
WildFly-Camel 11.0.0 provides Camel-3.0.0 integration with WildFly-18.0.1 This is a major update release. Component upgrades include WildFly-18.0.1 Camel-3.0.0 Hawtio-2.8.0 Here some highlights that come with the Camel3 update Remove support for @ContextName Remove support for SerializationData