@MinMuleVersion("4.1") @Target(METHOD) @Retention(RUNTIME) @Documented public @interface OnError
Used to indicate that an annotated method should be executed when a generated event was processed by the owning flow but an error was thrown.

Another important semantic of this annotation, is that whatever parameters the annotated method takes, are to be automatically resolved by the runtime in the same way as an operation method would.

Since:
1.0