Package org.springframework.integration.annotation
Provides annotations for annotation-based configuration.
-
Class Summary Class Description AnnotationConstants Common value constants for annotation attributes. -
Annotation Types Summary Annotation Type Description Aggregator Indicates that a method is capable of aggregating messages.BridgeFrom Messaging Annotation to mark aBeanmethod for aMessageChannelto produce aBridgeHandlerand Consumer Endpoint.BridgeTo Messaging Annotation to mark aBeanmethod for aMessageChannelto produce aBridgeHandlerand Consumer Endpoint.CorrelationStrategy Indicates that a given method is capable of determining the correlation key of a message sent as parameter.Default Indicates that the class member has some default meaning.EndpointId When used alongside an EIP annotation (and no@Bean), specifies the bean name of the consumer bean with the handler bean beingid.handler(for a consuming endpoint) orid.sourcefor a message source (e.g.Filter Indicates that a method is capable of playing the role of a Message Filter.Gateway Indicates that an interface method is capable of mapping its parameters to a message or message payload.GatewayHeader Provides the message headervalueorexpression.IdempotentReceiver Amethodthat has a MessagingAnnotation (@code @ServiceActivator, @Router etc.) that also has this annotation, has anIdempotentReceiverInterceptorapplied to the associatedMessageHandler.handleMessage(org.springframework.messaging.Message<?>)method.InboundChannelAdapter IntegrationComponentScan Configures component scanning directives for use withConfigurationclasses.MessageEndpoint Stereotype annotation indicating that a class is capable of serving as a Message Endpoint.MessagingGateway A stereotype annotation to provide an Integration Messaging Gateway Proxy (<gateway/>) as an abstraction over the messaging API.Payloads This annotation marks a method parameter as being a list of message payloads, for POJO handlers that deal with lists of messages (e.g.Poller Provides thePollerMetadataoptions for the Messaging annotations for polled endpoints.Publisher Annotation to indicate that a method, or all public methods if applied at class-level, should publish Messages.Reactive Provides reactive configuration options for the consumer endpoint making any input channel as a reactive stream source of data.ReleaseStrategy Indicates that a method is capable of asserting if a list of messages or payload objects is complete.Role Annotate endpoints to assign them to a role.Router Indicates that a method is capable of resolving to a channel or channel name based on a message, message header(s), or both.ServiceActivator Indicates that a method is capable of handling a message or message payload.Splitter Indicates that a method is capable of splitting a single message or message payload to produce multiple messages or payloads.Transformer Indicates that a method is capable of transforming a message, message header, or message payload.UseSpelInvoker Indicates that a POJO handler method (@ServiceActivator, @Transformer,etc., or such methods invoked from XML definitions) should be invoked using SpEL.