;
>> ${exception.message}
>>
>>
>> {"error":"#{request.body}"}
>>
>>
>> But this seems overkill for such a simple case - is there a simpler way to
>> do this?
>>
>> Should the simple expression fail the
-exceptions-to-JSON-with-Simple-Expression-Language-or-SPEL-tp5696933p5697021.html
Sent from the Camel - Users mailing list archive at Nabble.com.
kill for such a simple case - is there a simpler way to
> do this?
>
> Should the simple expression fail the way it does with a closing curly
> bracket - this was OK before and obviously causes issues in JSON
>
> Why does SPEL think the exception is null?
>
>
> --
> Vie
auses issues in JSON
Why does SPEL think the exception is null?
--
View this message in context:
http://camel.465427.n5.nabble.com/Translating-route-exceptions-to-JSON-with-Simple-Expression-Language-or-SPEL-tp5696933.html
Sent from the Camel - Users mailing list archive at Nabble.com.