Re: Apache camel running on multiple nodes

2020-09-30 Thread Andrea Cosentino
I believe you already have an answer on this. Il giorno gio 1 ott 2020 alle ore 07:50 SRAVAN KUMAR < pabbasrava...@gmail.com> ha scritto: > Hi Team, > > I want to run the apache camel file route on multiple nodes and the source > folder is the same for both nodes and expecting the route to proce

Apache camel running on multiple nodes

2020-09-30 Thread SRAVAN KUMAR
Hi Team, I want to run the apache camel file route on multiple nodes and the source folder is the same for both nodes and expecting the route to process files parallelly > when I tried the running camel on multiple nodes, files are processing in a round-robin fashion (only one ode processing is

Re: Masking endpoint parameters in logs

2020-09-30 Thread Claus Ibsen
Hi You cannot mask the sftp path part. Camel only masks sensitive data for credentials like username, passwords etc. If you want to avoid this, then you can "patch the source code" by adding mask = true in the source code and rebuild the component. Or extend the component as sftp2 and set the mask

Re: Camel Mongodb sorting with allowDiskUse not working

2020-09-30 Thread Site Register
It works with below sample codes by using aggregate: List aggregate = Arrays.asList(Aggregates.match(Filters.gt("fieldname", value))); exchange.getIn().setHeader(MongoDbConstants.SORT_BY, Sorts.ascending("fieldname")); exchange.getIn().setHeader(MongoDbConstants.ALLOW_DISK_USE, true); exchange.g

Masking endpoint parameters in logs

2020-09-30 Thread Anthony Wu
Hello Camel users, In researching options to mask i.e. the SFTP path (considered sensitive information) in all logs while retaining other information in the log line, I stumbled upon the recently completed ticket https://issues.apache.org/jira/browse/CAMEL-14844. Unfortunately, I can't find where

Re: Camel Mongodb sorting with allowDiskUse not working

2020-09-30 Thread Jan Bednář
Hi, allowDiskUse have been dedicated exclusively for aggregation. Support for this flag for find operations have been added to MongoDB Server recently with version 4.3.1. You need to rewrite findAll to aggragation - it is quite simple. I have logged https://issues.apache.org/jira/projects/CAME

Camel Mongodb sorting with allowDiskUse not working

2020-09-30 Thread Site Register
Hi all, I got below error message when I was trying to sort on huge mongodb collection data even I turn on allowDiskUse to true. Any suggestions? "Query failed with error code 292 and error message 'Executor error during find command :: caused by :: Sort exceeded memory limit of 104857600 bytes,

Re: Unclear reasons for conversion rules when using Simple language

2020-09-30 Thread Claus Ibsen
Hi Okay so we have optimized this for Camel 3.6, thanks for bringing this to our attention here in the Camel community On Sun, Sep 20, 2020 at 9:53 AM Claus Ibsen wrote: > > Hi > > There is maybe some things that can be optmized a little bit > https://issues.apache.org/jira/browse/CAMEL-14542 >

Apache Camel Fuse soap proxy service CXF input type

2020-09-30 Thread Peter Turányi
I use Red Hat Fuse CodeReady Studio 12.16.0.GA. I have created soap proxy service using CXF. I have defined start of route uri="cxf:bean:countryInfoProxyServiceClient?dataFormat=RAW"/> because PAYLOAD and CXF-MESSAGE data formats cause exception Message part {http://www.demo.com/countryinfo}VsetkyI

Apache Camel Fuse soap proxy service CXF input type

2020-09-30 Thread Peter Turányi
I use Red Hat Fuse CodeReady Studio 12.16.0.GA. I have created soap proxy service using CXF. I have defined start of route uri="cxf:bean:countryInfoProxyServiceClient?dataFormat=RAW"/> because PAYLOAD and CXF-MESSAGE data formats cause exception Message part {http://www.demo.com/countryinfo

Re: Generating spring boot starter jar for endpoint

2020-09-30 Thread Claus Ibsen
Hi Yeah see the readme at https://github.com/apache/camel-spring-boot Though we use it for out of the box components, so to use that same tool for custom you may need to tweak a bit. On Wed, Sep 30, 2020 at 2:30 PM Meyfarth, Frank wrote: > > Hi folks, > > I am developing a custom endpoint. For

Generating spring boot starter jar for endpoint

2020-09-30 Thread Meyfarth, Frank
Hi folks, I am developing a custom endpoint. For easy configuration of the endpoint in Spring Boot applications I’d like to add a starter. As far as I have seen in existing endpoints those are actually generated. Does anybody know how that works? Is there a plugin for that? I searched the docum