Annotation Interface Messaging.OnFailure

Enclosing class:
Messaging

@Documented @Retention(CLASS) @Target(METHOD) public static @interface Messaging.OnFailure
Declares default delivery failure handling for the incoming channel named by Messaging.ReceiveFrom. The policy is channel- and delivery-scoped, so it covers sibling handlers and downstream outputs participating in the same source delivery rather than only the annotated method invocation. An explicitly configured failure option for the incoming channel overrides the corresponding declared option. Configuring failure.retry replaces the complete retry declared by this annotation.