Re: Rép. : Re: Convertbody with dynamic Charset

2018-01-12 Thread Daniel Langevin
Thanks. Does it affect all the exchange content. ? like Body value and Headers value Daniel >>> Claus Ibsen 2018-01-12 11:03 >>> If you want to set a dynamic charset, then you can set it as exchange property before calling convert body to ${property.mailCharSet} On Fri, Jan 12,

Re: Backpropagate exception on direct: and vm: routes

2018-01-12 Thread Quinn Stevenson
Try adding true to the onException element Quinn Stevenson qu...@pronoia-solutions.com (801) 244-7758 > On Jan 12, 2018, at 10:44 AM, Miguel Ruiz Velasco Sobrino > wrote: > > the same as me: > https://stackoverflow.com/questions/34617646/return-back-from-current-route-in-apache-camel-

Re: Rép. : Re: Convertbody with dynamic Charset

2018-01-12 Thread Daniel Langevin
Thanks. Does it affect all the exchange content. ? like Body value and Headers value Daniel >>> Claus Ibsen 2018-01-12 11:03 >>> If you want to set a dynamic charset, then you can set it as exchange property before calling convert body to ${property.mailCharSet} On Fri, Jan 12,

Re: Backpropagate exception on direct: and vm: routes

2018-01-12 Thread Miguel Ruiz Velasco Sobrino
Dear Quinn, I found the following Stackoverflow post asking the same as me: https://stackoverflow.com/questions/34617646/return-back-from-current-route-in-apache-camel-and-continue-routing First I did this: /SomeException/ true true

Re: Rép. : Re: Convertbody with dynamic Charset

2018-01-12 Thread Claus Ibsen
If you want to set a dynamic charset, then you can set it as exchange property before calling convert body to ${property.mailCharSet} On Fri, Jan 12, 2018 at 4:55 PM, Daniel Langevin wrote: > Ok Thanks. > I know that way, but can't be Dynamic > > > Regards > > Daniel > > > > > > Claus

Rép. : Re: Convertbody with dynamic Charset

2018-01-12 Thread Daniel Langevin
Ok Thanks. I know that way, but can't be Dynamic Regards Daniel >>> Claus Ibsen 2018-01-12 10:51 >>> You cannot make it as a dynamic value computed from each message, but you can configure it externally using property placeholders. For the latter read the documentation http://camel.apach

Re: Convertbody with dynamic Charset

2018-01-12 Thread Claus Ibsen
You cannot make it as a dynamic value computed from each message, but you can configure it externally using property placeholders. For the latter read the documentation http://camel.apache.org/using-propertyplaceholder.html On Fri, Jan 12, 2018 at 4:23 PM, Daniel Langevin wrote: > Hi, > > i try t

Re: Convertbody with dynamic Charset

2018-01-12 Thread RavinderReddy k
On Jan 12, 2018 10:23 AM, "Daniel Langevin" wrote: > Hi, > > i try to use convertBody to and pass the charset dynamically. > > > i try: > #1 > .. retrieve charSet > BodyPart from mail > > > but receive error > Caused by: java.nio.charset.IllegalCharsetNameException: > ${property.mailCharSe

Convertbody with dynamic Charset

2018-01-12 Thread Daniel Langevin
Hi, i try to use convertBody to and pass the charset dynamically. i try: #1 .. retrieve charSet BodyPart from mail but receive error Caused by: java.nio.charset.IllegalCharsetNameException: ${property.mailCharSet} #2 .. retrieve charSet BodyPart from mail but receive error C

Re: Backpropagate exception on direct: and vm: routes

2018-01-12 Thread Quinn Stevenson
I don’t see an element in the route - are you handling the exception? Quinn Stevenson qu...@pronoia-solutions.com (801) 244-7758 > On Jan 11, 2018, at 12:37 AM, Miguel Ruiz Velasco Sobrino > wrote: > > Hi!, > > I have a route (direct: or VM:) with lots of processors, each one does a tiny

Re: Design: State Machine implementation in Apache Camel

2018-01-12 Thread Steve973
For your first point, when you say that you save the route names in a table, do you mean something like a camel Routing Slip , or a data structure of your own? Consider using the Dynamic Router feature if you h