Re: How to copy an exchange property to the global options?

2020-04-30 Thread Claus Ibsen
Global options are not for storing arbitrary end user stuff really. Its for some global options for Camel itself for some logging max sizes, and some other bits. That said the options are stored as key/values as-is and not evaluated during routing of an exchange as they are not intended for that.

Re: chown (not chmod) for file producer

2020-04-30 Thread Claus Ibsen
Hi No see the options that that file component has. It is using some Java JDK api for changing this. You can research this api whether it supports chown also, and if so you can create a JIRA and provide a PR On Thu, Apr 30, 2020 at 11:01 PM Axel Bock wrote: > > hi camel list, is there a way to

Re: How to copy an exchange property to the global options?

2020-04-30 Thread Ron Cecchini
p.s. While I'm at it, is there a way to *access* a GlobalOption from inside a route using Simple? > On May 1, 2020 at 12:24 AM Ron Cecchini wrote: > > > I'm trying to pass back the # of things I've processed in a route back to the > calling Java. > > This log() displays the correct number:

How to copy an exchange property to the global options?

2020-04-30 Thread Ron Cecchini
I'm trying to pass back the # of things I've processed in a route back to the calling Java. This log() displays the correct number: .log(LoggingLevel.INFO, "Processing ${body.size} Things ...") I then tried putting that ${body.size} in a GlobalOption on the CamelContext so I can access it late

chown (not chmod) for file producer

2020-04-30 Thread Axel Bock
hi camel list, is there a way to do a "chown" command for a produced file? I do a "chmod=666" right now, yet although this works it's kinda dirty. cheers! axel.

Re: Camel Quarkus Core causes Exception

2020-04-30 Thread Andrea Cosentino
Please report on the github issues tracker of camel-quarkus project. Il giorno gio 30 apr 2020 alle ore 11:31 Mikael Andersson Wigander < mikael.grevs...@gmail.com> ha scritto: > Hi > > I just migrated my quarkus sample app to Camel 1.0.0-M7 and using > 1.4.1.Final of Quarkus on GraalVM for Java

Camel Quarkus Core causes Exception

2020-04-30 Thread Mikael Andersson Wigander
Hi I just migrated my quarkus sample app to Camel 1.0.0-M7 and using 1.4.1.Final of Quarkus on GraalVM for Java 11 and I now get this exception on startup: 2020-04-30 11:24:03,079 ERROR [io.qua.dep.dev.DevModeMain] (main) Failed to start Quarkus: java.lang.NoSuchMethodError: 'void io.quarkus.b

Re: Camel Mongo findById // empty results

2020-04-30 Thread Pasquale Congiusti
A note for Reji, as you probably will use the body coming from some source as an input you may wish to use the convert method instead of setting the body with the proper type: .convertBodyTo(ObjectId.class) I've just updated the documentation highlighting that. Cheers, Pasquale. On Thu, Apr 30,

Re: Camel Mongo findById // empty results

2020-04-30 Thread Pasquale Congiusti
Yeah, probably we can add a note to warn the users that default _id is treated as an ObjectId type by Mongo, I'll take care of that shortly. I've also planned to write a camel-example based on Mongo, as soon as it's ready I'll raise a PR as well. Cheers, Pasquale. On Wed, Apr 29, 2020 at 3:05 PM