Package org.springframework.integration.annotation
package org.springframework.integration.annotation
Provides annotations for annotation-based configuration.
-
ClassDescriptionIndicates that a method is capable of aggregating messages.The repeatable container for
Aggregator
annotations.Common value constants for annotation attributes.Messaging Annotation to mark aBean
method for aMessageChannel
to produce aBridgeHandler
and Consumer Endpoint.The repeatable container forBridgeFrom
annotations.Messaging Annotation to mark aBean
method for aMessageChannel
to produce aBridgeHandler
and Consumer Endpoint.The repeatable container forBridgeTo
annotations.Indicates that a given method is capable of determining the correlation key of a message sent as parameter.Indicates that the class member has some default meaning.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.source
for a message source (e.g.Indicates that a method is capable of playing the role of a Message Filter.The repeatable container forFilter
annotations.Indicates that an interface method is capable of mapping its parameters to a message or message payload.Provides the message headervalue
orexpression
.Amethod
that has a MessagingAnnotation (@code @ServiceActivator, @Router etc.) that also has this annotation, has anIdempotentReceiverInterceptor
applied to the associatedMessageHandler.handleMessage(org.springframework.messaging.Message<?>)
method.The repeatable container forInboundChannelAdapter
annotations.Configures component scanning directives for use withConfiguration
classes.Stereotype annotation indicating that a class is capable of serving as a Message Endpoint.A stereotype annotation to provide an Integration Messaging Gateway Proxy (<gateway/>
) as an abstraction over the messaging API.This annotation marks a method parameter as being a list of message payloads, for POJO handlers that deal with lists of messages (e.g.Provides thePollerMetadata
options for the Messaging annotations for polled endpoints.Annotation to indicate that a method, or all public methods if applied at class-level, should publish Messages.Provides reactive configuration options for the consumer endpoint making any input channel as a reactive stream source of data.Indicates that a method is capable of asserting if a list of messages or payload objects is complete.Annotate endpoints to assign them to a role.Indicates that a method is capable of resolving to a channel or channel name based on a message, message header(s), or both.The repeatable container forRouter
annotations.Indicates that a method is capable of handling a message or message payload.The repeatable container forServiceActivator
annotations.Indicates that a method is capable of splitting a single message or message payload to produce multiple messages or payloads.The repeatable container forSplitter
annotations.Indicates that a method is capable of transforming a message, message header, or message payload.The repeatable container forTransformer
annotations.Indicates that a POJO handler method (@ServiceActivator, @Transformer,
etc., or such methods invoked from XML definitions) should be invoked using SpEL.