That's great news. Thanks!
Using body is also working like you indicated ;)
Olivier
Claus Ibsen-2 wrote:
>
> On Wed, Apr 21, 2010 at 9:23 PM, Olivier Roger
> wrote:
>>
>> I understand the better now,
>>
>> Anyways, this would really be a useful features in our case :)
>>
>
> I have fixed
On Wed, Apr 21, 2010 at 9:23 PM, Olivier Roger wrote:
>
> I understand the better now,
>
> Anyways, this would really be a useful features in our case :)
>
I have fixed the body and ${body}
now returning the same = the body instance as it is.
>
> Claus Ibsen-2 wrote:
>>
>> Hi
>>
>> Yeah I can se
I understand the better now,
Anyways, this would really be a useful features in our case :)
Claus Ibsen-2 wrote:
>
> Hi
>
> Yeah I can see the problem now.
>
> The language was originally designed for creating dynamic
> Strings, and hence ${body} is parsed as "" + body, which cause Camel
>
Hi
Ah I digged a bit more.
Only when you use ${ } Camel uses the complex concat expressions.
So you can do
body
And it should work.
On Mon, Apr 19, 2010 at 9:28 AM, Olivier Roger wrote:
>
> Hello Claus,
>
> I was using the tokenize on "]," but some brackets from the toString
> representatio
Hi
Yeah I can see the problem now.
The language was originally designed for creating dynamic
Strings, and hence ${body} is parsed as "" + body, which cause Camel
to type coerce the body to a String type as well.
I will look into this.
On Mon, Apr 19, 2010 at 9:28 AM, Olivier Roger wrote:
>
>
Hello Claus,
I was using the tokenize on "]," but some brackets from the toString
representation where still present in the result, which is normal.
Using ${body} seems indeed to be what I was looking for.
However, at the moment when I used it, the splitter return 1 message per
cell instead of p
Hi
Yeah the split EIP pattern will be explained in chapter 8 in both Java
and Spring XML examples.
You can also see a bit more here
http://camel.apache.org/splitter.html
You use the and it requires a token, such as \n or comma etc.
To do the exact same example as in Java DSL you can do
${body