Search code examples
javaexceptionmulemule-flow

How to access exceptionPayload in Flow


I have been looking for this on Google but couldn't find a solution.

How can I access the exceptionPayload in the the mule flow like I can access the payload #[message.payload]. In the same way is there any way I can have the exceptionPayload also?


Solution

  • Use #[exception], which is null if there is no exception payload for the current event.