spring-framework / org.springframework.messaging.handler

Package org.springframework.messaging.handler

Types

DestinationPatternsMessageCondition

open class DestinationPatternsMessageCondition : AbstractMessageCondition<DestinationPatternsMessageCondition>

A MessageCondition for matching the destination of a Message against one or more destination patterns using a PathMatcher.

MessageCondition

interface MessageCondition<T : Any>

Contract for mapping conditions to messages.

Message conditions can be combined (e.g. type + method-level conditions), matched to a specific Message, as well as compared to each other in the context of a Message to determine which one matches a request more closely.

MessagingAdviceBean

interface MessagingAdviceBean : Ordered

Represents a Spring-managed bean with cross-cutting functionality to be applied to one or more Spring beans with annotation-based message handling methods.

Component stereotypes such as org.springframework.stereotype.Controller with annotation handler methods often need cross-cutting functionality across all or a subset of such annotated components. A primary example of this is the need for "global" annotated exception handler methods but the concept applies more generally.