Re: could not display ${out.body} at Log for external soap service provider

2018-12-05 Thread Claus Ibsen
Hi Just use ${body} Also mind about logging streaming data, you may only be able to read it once. See this FAQ http://camel.apache.org/why-is-my-message-body-empty.html On Wed, Nov 21, 2018 at 1:49 PM Wang Yan wrote: > > i already got reply from to uri which is mock soap service (external soap

Re: Re: readLockLoggingLevel File Component

2018-12-05 Thread Claus Ibsen
Hi Thanks for spotting this. I am correcting the docs. On Thu, Nov 29, 2018 at 9:03 AM wrote: > > Yes Zoran, > > sometimes I have a great enlightenment;) > But even small things can slow down your work (if you wonder, why a file > is not consumed, cause this is only logged at debug)... > > Björn

Fwd: configure SSL for CAMEL LDAP

2018-12-05 Thread Wang Yan
it does not work got exception as below #camel xmlroute scan camel.springboot.xmlRoutes: on camel.springboot.xmlRoutes: file:camel/*.xml Caused by: java.lang.IllegalStateException: duplicate key: camel.springboot.xmlRoutes -- Forwarded message - From: Wang Yan Date: Tue, Nov

Re: large xml files using groovy

2018-12-05 Thread Claus Ibsen
Hi How is reading an XML file via Java code related to a SOAP endpoint? Yeah you can read xml files in a streaming mode via a reader. Mind that it depends what you need to do with the XML data whether you need to read the entire XML into memory and build a DOM tree etc. 20mb is not so large

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Claus Ibsen
Hi What version of Camel, Kafka and SB are you using? On Tue, Dec 4, 2018 at 8:59 AM Yoshimo wrote: > > Hello Camel users, > > I am trying to auto configure the Kafka component using spring boot, but the > configuration is not working. More specifically I am following this page: > >

Fwd: using springdsl instead of javadsl with file path

2018-12-05 Thread Wang Yan
it does not work got exception as below #camel xmlroute scan camel.springboot.xmlRoutes: on camel.springboot.xmlRoutes: file:camel/*.xml Caused by: java.lang.IllegalStateException: duplicate key: camel.springboot.xmlRoutes -- Forwarded message - From: Wang Yan Date: Tue, Nov

Re: using springdsl instead of javadsl with file path

2018-12-05 Thread Claus Ibsen
Hi Maybe try separating mutliple paths with comma and only have 1 key On Wed, Dec 5, 2018 at 11:11 AM Wang Yan wrote: > > it does not work got exception as below > > #camel xmlroute scan > camel.springboot.xmlRoutes: on > camel.springboot.xmlRoutes: file:camel/*.xml > > > Caused by:

Re: Component options

2018-12-05 Thread Claus Ibsen
No you can get the options of a component via its instance type, eg HttpComponent has getter/setter for all its options. To set default values on components you do as in (2) or if you use spring-boot you can set them via SB auto configuration etc. On Fri, Nov 23, 2018 at 9:24 PM ski n wrote: >

Re: Apache Camel Question

2018-12-05 Thread Claus Ibsen
Hi No removal is not supported. The file component is primary designed for exchange data via files. Not really for monitoring directory folders. Also the original Java File API didnt support this either. You can use the newer Java File API for this. And its not on the roadmap to add this

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Yoshimo
Here is what I add to my yaml file: camel.component.kafka.configuration.value-deserializer: com.openbet.platform.pricepublisher.serde.SportsEventDeserializer and here is my route: from("kafka:prices?brokers={{kafka.servers}}")

Fwd: using springdsl instead of javadsl with file path

2018-12-05 Thread Wang Yan
it seems only support keyword classpath but not file camel.springboot.xmlRoutes: classpath:camel/*.xml -- Forwarded message - From: Wang Yan Date: Wed, Dec 5, 2018 at 11:11 AM Subject: Fwd: using springdsl instead of javadsl with file path To: it does not work got

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Yoshimo
Hello Claus, thank you for looking into this. Camel: 2.23.0 Kafka: 2.0.0 SB: 2.1.0.RELEASE I am also attaching my pom if you want to have a look. Thank you, Yiannis ‐‐‐ Original Message ‐‐‐ On Wednesday, 5 December 2018 12:15, Claus Ibsen wrote: > Hi > > What version of Camel, Kafka

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Claus Ibsen
On Wed, Dec 5, 2018 at 12:56 PM Yoshimo wrote: > > Here is what I add to my yaml file: > > camel.component.kafka.configuration.value-deserializer: > com.openbet.platform.pricepublisher.serde.SportsEventDeserializer > > and here is my route: > >

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Yoshimo
Hey Claus, I think that you misread my previous email. The value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer line is the logging output of the Kafka consumer being created by Camel when I try adding the Spring Boot configuration. What I actually add to my