I got it.
template.sendBodyAndProperty(endpoint, body, propertyKey, propertyValue)
calls ExchangeHelper.extractResultBody(result, pattern) after processing
the exchange to check whether the exchange failed or not what
template.send(endpoint, processor) didn't call.

Best,
Christian

On Sun, Feb 19, 2012 at 2:06 PM, Christian Müller <
christian.muel...@gmail.com> wrote:

> Hello Babak!
>
> I improved this unit test with r1290995. Now the test fails, if you expect
> "null" instead of "TEXT".
>
> But I'm wondering why template.sendBodyAndProperty(endpoint, body,
> propertyKey, propertyValue) has a different behavior than
> template.send(endpoint, processor)...
>
> Best,
> Christian
>
>
> On Thu, Feb 16, 2012 at 11:55 AM, Babak Vahdat <
> babak.vah...@swissonline.ch> wrote:
>
>> Hi
>>
>> The last couple of days the user forum has been really active so maybe why
>> no body saw this thread...
>>
>> I think we've got an issue here!
>>
>> Babak
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/About-false-positive-Test-inside-Camel-source-tp5483171p5489169.html
>> Sent from the Camel Development mailing list archive at Nabble.com.
>>
>
>

Reply via email to