Uses of Interface
org.springframework.integration.store.MessageGroup
Package
Description
Provides classes related to message aggregation.
Base package for configuration.
Root package of the Spring Integration Java DSL.
Provides support classes for file-based aggregation logic.
Provides JDBC-backed Message Store implementations.
Provides classes related to the MongoDB message store.
Provides classes related to the Redis message store.
Provides classes releated to storing messages.
-
Uses of MessageGroup in org.springframework.integration.aggregator
Modifier and TypeClassDescriptionprotected static class
Modifier and TypeMethodDescriptionprotected Function<MessageGroup,
Map<String, Object>> AbstractAggregatingMessageGroupProcessor.getHeadersFunction()
Modifier and TypeMethodDescriptionprotected abstract void
AbstractCorrelatingMessageHandler.afterRelease
(MessageGroup group, Collection<Message<?>> completedMessages) Allows you to provide additional logic that needs to be performed after the MessageGroup was released.protected void
AbstractCorrelatingMessageHandler.afterRelease
(MessageGroup group, Collection<Message<?>> completedMessages, boolean timeout) Subclasses may override if special action is needed because the group was released or discarded due to a timeout.protected void
AggregatingMessageHandler.afterRelease
(MessageGroup messageGroup, Collection<Message<?>> completedMessages) Complete the group and remove all its messages.protected void
ResequencingMessageHandler.afterRelease
(MessageGroup messageGroup, Collection<Message<?>> completedMessages) protected void
ResequencingMessageHandler.afterRelease
(MessageGroup messageGroup, Collection<Message<?>> completedMessages, boolean timeout) Perform group removal if itssize
is equal to thesequenceSize
.AbstractAggregatingMessageGroupProcessor.aggregateHeaders
(MessageGroup group) This default implementation simply returns all headers that have no conflicts among the group.protected abstract Object
AbstractAggregatingMessageGroupProcessor.aggregatePayloads
(MessageGroup group, Map<String, Object> defaultHeaders) protected final Object
DefaultAggregatingMessageGroupProcessor.aggregatePayloads
(MessageGroup group, Map<String, Object> headers) protected Object
ExpressionEvaluatingMessageGroupProcessor.aggregatePayloads
(MessageGroup group, Map<String, Object> headers) Evaluate the expression provided on the messages (a collection) in the group, and delegate to theMessagingTemplate
to send downstream.protected final Object
MethodInvokingMessageGroupProcessor.aggregatePayloads
(MessageGroup group, Map<String, Object> headers) DefaultAggregateHeadersFunction.apply
(MessageGroup messageGroup) boolean
ExpressionEvaluatingReleaseStrategy.canRelease
(MessageGroup messages) Evaluate the expression provided on theMessageGroup
and return the result (must be boolean).boolean
MessageCountReleaseStrategy.canRelease
(MessageGroup group) Release the group if it has more messages than the threshold and has not previously been released.boolean
MethodInvokingReleaseStrategy.canRelease
(MessageGroup messages) boolean
ReleaseStrategy.canRelease
(MessageGroup group) boolean
SequenceSizeReleaseStrategy.canRelease
(MessageGroup messageGroup) boolean
SimpleSequenceSizeReleaseStrategy.canRelease
(MessageGroup group) boolean
TimeoutCountSequenceSizeReleaseStrategy.canRelease
(MessageGroup messages) protected void
AbstractCorrelatingMessageHandler.completeGroup
(Object correlationKey, MessageGroup group, Lock lock) protected Collection<Message<?>>
AbstractCorrelatingMessageHandler.completeGroup
(Message<?> message, Object correlationKey, MessageGroup group, Lock lock) protected void
AbstractCorrelatingMessageHandler.expireGroup
(Object correlationKey, MessageGroup group, Lock lock) protected void
AbstractCorrelatingMessageHandler.forceComplete
(MessageGroup group) protected Object
AbstractCorrelatingMessageHandler.obtainGroupTimeout
(MessageGroup group) final Object
AbstractAggregatingMessageGroupProcessor.processMessageGroup
(MessageGroup group) DelegatingMessageGroupProcessor.processMessageGroup
(MessageGroup group) MessageGroupProcessor.processMessageGroup
(MessageGroup group) Process the given MessageGroup.ResequencingMessageGroupProcessor.processMessageGroup
(MessageGroup group) SimpleMessageGroupProcessor.processMessageGroup
(MessageGroup group) protected void
AbstractCorrelatingMessageHandler.remove
(MessageGroup group) Modifier and TypeMethodDescriptionvoid
AbstractAggregatingMessageGroupProcessor.setHeadersFunction
(Function<MessageGroup, Map<String, Object>> headersFunction) Specify aFunction
to mapMessageGroup
into composed headers for output message.ModifierConstructorDescriptionDelegatingMessageGroupProcessor
(MessageGroupProcessor delegate, Function<MessageGroup, Map<String, Object>> headersFunction) -
Uses of MessageGroup in org.springframework.integration.config
Modifier and TypeMethodDescriptionvoid
AggregatorFactoryBean.setHeadersFunction
(Function<MessageGroup, Map<String, Object>> headersFunction) -
Uses of MessageGroup in org.springframework.integration.dsl
Modifier and TypeMethodDescriptionCorrelationHandlerSpec.groupTimeout
(Function<MessageGroup, ?> groupTimeoutFunction) Configure the handler with a function that will be invoked to resolve the group timeout, based on the message group.AggregatorSpec.headersFunction
(Function<MessageGroup, Map<String, Object>> headersFunction) Configure aFunction
to merge and compute headers for reply based on the completedMessageGroup
. -
Uses of MessageGroup in org.springframework.integration.file.aggregator
Modifier and TypeMethodDescriptionprotected Object
FileAggregatingMessageGroupProcessor.aggregatePayloads
(MessageGroup group, Map<String, Object> defaultHeaders) boolean
FileAggregator.canRelease
(MessageGroup group) boolean
FileMarkerReleaseStrategy.canRelease
(MessageGroup group) FileAggregator.processMessageGroup
(MessageGroup group) -
Uses of MessageGroup in org.springframework.integration.jdbc.store
Modifier and TypeMethodDescriptionJdbcChannelMessageStore.addMessageToGroup
(Object groupId, Message<?> message) Store a message in the database.JdbcChannelMessageStore.getMessageGroup
(Object groupId) Not fully used.JdbcMessageStore.getMessageGroup
(Object groupId) -
Uses of MessageGroup in org.springframework.integration.mongodb.store
Modifier and TypeMethodDescriptionConfigurableMongoDbMessageStore.addMessageToGroup
(Object groupId, Message<?> message) MongoDbChannelMessageStore.addMessageToGroup
(Object groupId, Message<?> message) ConfigurableMongoDbMessageStore.getMessageGroup
(Object groupId) MongoDbChannelMessageStore.getMessageGroup
(Object groupId) Not fully used.MongoDbMessageStore.getMessageGroup
(Object groupId) -
Uses of MessageGroup in org.springframework.integration.redis.store
Modifier and TypeMethodDescriptionRedisChannelMessageStore.addMessageToGroup
(Object groupId, Message<?> message) RedisChannelPriorityMessageStore.addMessageToGroup
(Object groupId, Message<?> message) RedisChannelMessageStore.getMessageGroup
(Object groupId) RedisChannelPriorityMessageStore.getMessageGroup
(Object groupId) -
Uses of MessageGroup in org.springframework.integration.store
Modifier and TypeClassDescriptionclass
Represents a mutable group of correlated messages that is bound to a certainMessageStore
and group id.Modifier and TypeMethodDescriptionAbstractMessageGroupStore.addMessageToGroup
(Object groupId, Message<?> message) BasicMessageGroupStore.addMessageToGroup
(Object groupId, Message<?> message) Store a message with an association to a group id.protected MessageGroup
AbstractMessageGroupStore.copy
(MessageGroup group) Used by expireMessageGroups.protected MessageGroup
SimpleMessageStore.copy
(MessageGroup group) Create aMessageGroup
instance based on the providedgroupId
.MessageGroupFactory.create
(Collection<? extends Message<?>> messages, Object groupId) MessageGroupFactory.create
(Collection<? extends Message<?>> messages, Object groupId, long timestamp, boolean complete) MessageGroupFactory.create
(MessageGroupStore messageGroupStore, Object groupId) Create aMessageGroup
instance based on the providedgroupId
.MessageGroupFactory.create
(MessageGroupStore messageGroupStore, Object groupId, long timestamp, boolean complete) Create aMessageGroup
instance based on the providedgroupId
.SimpleMessageGroupFactory.create
(Collection<? extends Message<?>> messages, Object groupId) SimpleMessageGroupFactory.create
(Collection<? extends Message<?>> messages, Object groupId, long timestamp, boolean complete) SimpleMessageGroupFactory.create
(MessageGroupStore messageGroupStore, Object groupId) SimpleMessageGroupFactory.create
(MessageGroupStore messageGroupStore, Object groupId, long timestamp, boolean complete) AbstractKeyValueMessageStore.getMessageGroup
(Object groupId) Will create a new instance of SimpleMessageGroup if necessary.BasicMessageGroupStore.getMessageGroup
(Object groupId) Return all Messages currently in the MessageStore that were stored usingBasicMessageGroupStore.addMessageToGroup(Object, Message)
with this group id.SimpleMessageStore.getMessageGroup
(Object groupId) Modifier and TypeMethodDescriptionAbstractKeyValueMessageStore.iterator()
MessageGroupStore.iterator()
SimpleMessageStore.iterator()
Modifier and TypeMethodDescriptionprotected MessageGroup
AbstractMessageGroupStore.copy
(MessageGroup group) Used by expireMessageGroups.protected MessageGroup
SimpleMessageStore.copy
(MessageGroup group) void
MessageGroupStore.MessageGroupCallback.execute
(MessageGroupStore messageGroupStore, MessageGroup group) ModifierConstructorDescriptionMessageGroupMetadata
(MessageGroup messageGroup) SimpleMessageGroup
(MessageGroup messageGroup)