Re: File component moveFailed with date is not parsed correctly

2020-09-28 Thread Mikael Andersson Wigander
Thx I'll try Funny though it has been in docs since 2.2 https://people.apache.org/~dkulp/camel/file-language.html /M ‐‐‐ Original Message ‐‐‐ On Monday 28 September 2020 kl. 20:59, Claus Ibsen wrote: > Try with $simple{ xxx } as workaround. > Also try with newer Camel version. > > I

Re: Camel 3.4.4 feature:install camel-json-validator causes an error

2020-09-28 Thread Andrea Cosentino
We have a verify phase in camel-karaf. This seems pretty weird. I have to check. Can you please open an issue? Thanks Il lun 28 set 2020, 21:38 Gerald Kallas ha scritto: > Dear all, > > I'm trying to install > > feature:install camel-json-validator > > on Karaf 4.2.9. It causes an error > > java

Camel 3.4.4 feature:install camel-json-validator causes an error

2020-09-28 Thread Gerald Kallas
Dear all, I'm trying to install feature:install camel-json-validator on Karaf 4.2.9. It causes an error java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19 at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:576) at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:494) at

Re: json-validator full error message

2020-09-28 Thread Gerald Kallas
Tx Claus, will do so. > Claus Ibsen hat am 28.09.2020 21:14 geschrieben: > > > You can do an onException(JsonValidationException) and then output > some more details from that exception. > > But yeah out of the box, then it should likely report some more > details, you can create a JIRA. > An

Re: json-validator full error message

2020-09-28 Thread Claus Ibsen
You can do an onException(JsonValidationException) and then output some more details from that exception. But yeah out of the box, then it should likely report some more details, you can create a JIRA. And are welcome to work on a PR On Mon, Sep 28, 2020 at 9:12 PM Gerald Kallas wrote: > > Hi, >

Re: json-validator full error message

2020-09-28 Thread Gerald Kallas
Hi, I'm using Camel 3.4.4. The full blown error stack is org.apache.camel.component.jsonvalidator.JsonValidationException: JSON validation error with 1 errors. Exchange[ID-700bc59e90f0-1601310667823-13-2] at org.apache.camel.component.jsonvalidator.DefaultJsonValidationErrorHandler.han

Re: Performance regression with bean and ognl expressions in Simple language version 3.4.x

2020-09-28 Thread Claus Ibsen
Hi I created a ticket to not forget https://issues.apache.org/jira/browse/CAMEL-15587 I wonder if you would add a readme.txt file to your sample code with some instructions about this and how to run, and capture data etc, so others can also take a look. And where you think there is some bottlenec

Re: File component moveFailed with date is not parsed correctly

2020-09-28 Thread Claus Ibsen
Try with $simple{ xxx } as workaround. Also try with newer Camel version. I would assume the date:now function is in 2.25.x also. On Mon, Sep 28, 2020 at 9:35 AM Mikael Andersson Wigander wrote: > > Hi > > trying to use the file component and the moveFailed option to create a > directory with a

Re: json-validator full error message

2020-09-28 Thread Claus Ibsen
Hi What version of Camel do you use? The exception has some details, but I guess the default toString does not output any of that https://github.com/apache/camel/blob/master/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidationException.java On Mo

json-validator full error message

2020-09-28 Thread Gerald Kallas
Dear all, I've tried the json-validator. When an error occurs it is shown only "JSON validation error with 1 errors. Exchange[ID-700bc59e90f0-1601310667823-12-4]" I there an option to get a more qualified error message (e.g. what's wrong in the JSON document)? Best Gerald

ApacheCon is tomorrow

2020-09-28 Thread Zoran Regvart
Hi Cameleers, ApacheCon @Home[1] starts tomorrow, here is how to make the most of it. First, if you haven’t already registered there is still time, go over to the conference page to do so. It’s free (small donation encouraged)! Browse the Camel/Integration track schedule[2] and use the calendar i

[ANNOUNCE] Apache Camel 3.4.4 Released

2020-09-28 Thread Gregor Zurowski
The Camel PMC is pleased to announce the release of Apache Camel 3.4.4 (LTS). Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. This patch release contains 31 bug fixes and improvements. The release

File component moveFailed with date is not parsed correctly

2020-09-28 Thread Mikael Andersson Wigander
Hi trying to use the file component and the moveFailed option to create a directory with a timestamp and put the file there but the date string is not parsed correctly. This is the yaml string file://mifir/input/import?noop=false&recursive=true&moveFailed=error/${date:now:MMdd}/${file:name