Re: file component to access doneFileName option

2019-12-02 Thread Claus Ibsen
Hi Instead of using doneFileName which AFAIR is a 1:1 with file and done file, then you can implement a custom file filter and configure on the file endpoint, and then return true|false whether you can find a done file name yourself via the java api. On Mon, Dec 2, 2019 at 9:41 PM WEIQUAN YUAN

Re: Debugging and tracing camel-3.0.0 on OSGi

2019-12-02 Thread Claus Ibsen
Hi Yeah you are welcome to create a JIRA to add backlogTracing=true|false to spring and blueprint xml On Mon, Dec 2, 2019 at 3:34 PM wrote: > > Hi. > > Thank you very much, I managed to turn the debugger on using: > > public class DebuggerEnablerBean { > public

Configuring Jackson for java.time

2019-12-02 Thread Zoran Regvart
Hi Ron, for Jackson you need to add support for Java 8+ features explicitly. Have a look at how to do it here: https://github.com/FasterXML/jackson-modules-java8 Jackson JSON data format has a `objectMapper`[2] property that you can use to set the customized ObjectMapper. zoran [2]

RE: Debugging and tracing camel-3.0.0 on OSGi

2019-12-02 Thread k.j.chernov
Thanks! https://issues.apache.org/jira/browse/CAMEL-14240 Konstantin Chernov. -Original Message- From: Claus Ibsen Sent: Monday, December 2, 2019 10:01 PM To: users@camel.apache.org Subject: Re: Debugging and tracing camel-3.0.0 on OSGi Hi Yeah you are welcome to create a JIRA to

Debugging and tracing camel-3.0.0 on OSGi

2019-12-02 Thread k.j.chernov
Hello. Is there any way to trace or debug the camel routes in 3.0.0 when starting camel context through OSGi Blueprint? I tried looking for BacklogDebugger/BacklogTracer MBeans on JMX without any luck (though I can see the context/processor/routes there). Debug/trace tabs just gone missing from

Re: [ANNOUNCEMENT] Apache Camel 3.0.0 Released

2019-12-02 Thread Andrea Cosentino
The groupId of the starters has been changed from org.apache.camel to org.apache.camel.springboot https://search.maven.org/search?q=g:org.apache.camel.springboot Il giorno lun 2 dic 2019 alle ore 15:23 ha scritto: > Hi, > > But camel-spring-boot-starter is still 3.0.0-RC3 ? > >

Re: [ANNOUNCEMENT] Apache Camel 3.0.0 Released

2019-12-02 Thread Andrea Cosentino
It's in the migration guide by the way https://camel.apache.org/manual/latest/camel-3-migration-guide.html#_spring_boot_starters_maven_coordinate_change Il giorno lun 2 dic 2019 alle ore 15:24 Andrea Cosentino ha scritto: > The groupId of the starters has been changed > from org.apache.camel

Re: Debugging and tracing camel-3.0.0 on OSGi

2019-12-02 Thread Claus Ibsen
Hi You need to turn on tracing before starting Camel in Camel 3 to have JMX tracer. context.setBacklogTracing(true); And the poor mans debugger is a feature we no longer want to provide out of the box in Camel and its removed. On Mon, Dec 2, 2019 at 2:49 PM wrote: > > Hello. > > Is there

RE: Debugging and tracing camel-3.0.0 on OSGi

2019-12-02 Thread k.j.chernov
Hi. Thank you very much, I managed to turn the debugger on using: public class DebuggerEnablerBean { public DebuggerEnablerBean(CamelContext camelContext) { camelContext.setDebugging(true); } } and instantiating this bean in xml: and it even works now in hawtio! But is

Re: Debugging and tracing camel-3.0.0 on OSGi

2019-12-02 Thread Claus Ibsen
I logged a ticket about the missing XSDs https://issues.apache.org/jira/browse/CAMEL-14239 On Mon, Dec 2, 2019 at 3:07 PM Claus Ibsen wrote: > > Hi > > You need to turn on tracing before starting Camel in Camel 3 to have JMX > tracer. > > context.setBacklogTracing(true); > > > And the poor mans

AW: [ANNOUNCEMENT] Apache Camel 3.0.0 Released

2019-12-02 Thread Thomas.Thiele
Hi, But camel-spring-boot-starter is still 3.0.0-RC3 ? -Ursprüngliche Nachricht- Von: Grzegorz Grzybek Gesendet: Freitag, 29. November 2019 15:37 An: users@camel.apache.org Cc: d...@camel.apache.org Betreff: Re: [ANNOUNCEMENT] Apache Camel 3.0.0 Released Congratulations! Time to

AW: [ANNOUNCEMENT] Apache Camel 3.0.0 Released

2019-12-02 Thread Thomas.Thiele
A. Thanks. Didn't expect this from 3.0.0-RC3 to 3.0.0 -Ursprüngliche Nachricht- Von: Andrea Cosentino Gesendet: Montag, 2. Dezember 2019 15:25 An: users@camel.apache.org Cc: dev Betreff: Re: [ANNOUNCEMENT] Apache Camel 3.0.0 Released The groupId of the starters has been changed

file component to access doneFileName option

2019-12-02 Thread WEIQUAN YUAN
I have one requirement to transfer file depends on the done file name for example, in the drop folder inputDir, if there is file named 123456.done dropped, I need to move all the file whose name including 123456 to outputDir. if there is file named 456789.done dropped, I need to move all the