Re: synchrone and asynchrone question

2017-01-10 Thread bdeweer
Camel 2.18.1 With Karaf 4 and blueprint -- View this message in context: http://camel.465427.n5.nabble.com/synchrone-and-asynchrone-question-tp5792346p5792348.html Sent from the Camel - Users mailing list archive at Nabble.com.

synchrone and asynchrone question

2017-01-10 Thread bdeweer
Hello, Today I encounter a strange situation with my project so could you please explain what's the difference between : (asynchrone to asynchrone component) and (synchrone to asynchrone component) and (asynchrone to synchrone component) As the name suggests, I need to save the payload

Re: How to read file inside a route?

2017-01-09 Thread bdeweer
Thank you for your reply. Indeed, the poolEnrich with a custom strategy make it works. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-read-file-inside-a-route-tp5792292p5792302.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to read file inside a route?

2017-01-09 Thread bdeweer
Hello, I have a simple SOAP WS that takes a filename as entry (string) and a file payload as output. Inside the route I have to read the file to get the content. How to make it with camel ? Can I use the file compoment or do I need to use the java NIO api inside a Camel processor ? How to use

uuid generator

2017-01-06 Thread bdeweer
Hello, I don't understand the purpose of the following classes / interfaces in Camel : JavaUuidGenerator SimpleUuidGenerator UuidGenerator ActiveMQUuidGenerator Why and when do I need these objects ? All my exchanges need a unique ID. I ve already used java.util.UUID.randomUUID().toString()

Re: Encoding / Charset problem with special chars

2016-12-28 Thread bdeweer
Thanks for replying, Indeed, I solve my problem by adding this line in my camel response processor: exchange.getIn().setHeader(Exchange.CHARSET_NAME, "iso-8859-1"); now Soap UI correctly displays the é è @ ... etc so thank you ... In my properties files in change from Caméléon to Cam\u00e9l\u

Encoding / Charset problem with special chars

2016-12-28 Thread bdeweer
Hello, I have a problem with specials chars like : é @ à è etc... I send an HTTP request containing a header with the key SenderID and the value is *Caméléon* I also have a properties file in my project with this key-value : *test.message=Caméléon* In my route I have thses two instructions :

Re: Camel errorHandler problem

2016-12-28 Thread bdeweer
Yes that's it. I have to follow this order : 1 : 2 : 3 : 4 : With that, it works well! Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-errorHandler-problem-tp5791951p5791966.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel errorHandler problem

2016-12-27 Thread bdeweer
Hello, I try to use the tag in my XML DSL but it doesn't work. I think that it's not possible to have both a AND at the same time. I have this error : java.lang.RuntimeException: Unable to validate xml Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unab