camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajith Muditha Attapattu <>
Subject Retrieving exchange property with java DSL
Date Mon, 15 Aug 2016 17:44:33 GMT
In my route builder, when constructing an error path, I need to grab
an error code (an Enum) and a String description so I could use the
"throw Exception()" and create a typed Exception object using the
error code and desc as constructor parameters.

The error code and description are set earlier in the pipeline if
there was an error.

How could I retrieve these Exchange properties ?


Rajith Muditha Attapattu

View raw message