You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Rajith Muditha Attapattu <ra...@gmail.com> on 2016/08/15 17:44:33 UTC
Retrieving exchange property with java DSL
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 ?
Regards,
Rajith Muditha Attapattu