Uses of Interface
org.springframework.integration.store.MessageGroup
Packages that use 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
Classes in org.springframework.integration.aggregator that implement MessageGroupModifier and TypeClassDescriptionprotected static classClasses in org.springframework.integration.aggregator that implement interfaces with type arguments of type MessageGroupModifier and TypeClassDescriptionclassTheFunctionimplementation for a default headers merging in the aggregator component.Methods in org.springframework.integration.aggregator that return MessageGroupMethods in org.springframework.integration.aggregator that return types with arguments of type MessageGroupModifier and TypeMethodDescriptionprotected Function<MessageGroup, Map<String, Object>> AbstractAggregatingMessageGroupProcessor.getHeadersFunction()Methods in org.springframework.integration.aggregator with parameters of type MessageGroupModifier and TypeMethodDescriptionprotected abstract voidAbstractCorrelatingMessageHandler.afterRelease(MessageGroup group, Collection<Message<?>> completedMessages) Allows you to provide additional logic that needs to be performed after the MessageGroup was released.protected voidAbstractCorrelatingMessageHandler.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 voidAggregatingMessageHandler.afterRelease(MessageGroup messageGroup, Collection<Message<?>> completedMessages) Complete the group and remove all its messages.protected voidResequencingMessageHandler.afterRelease(MessageGroup messageGroup, Collection<Message<?>> completedMessages) protected voidResequencingMessageHandler.afterRelease(MessageGroup messageGroup, Collection<Message<?>> completedMessages, boolean timeout) Perform group removal if itssizeis equal to thesequenceSize.AbstractAggregatingMessageGroupProcessor.aggregateHeaders(MessageGroup group) This default implementation simply returns all headers that have no conflicts among the group.protected abstract ObjectAbstractAggregatingMessageGroupProcessor.aggregatePayloads(MessageGroup group, Map<String, Object> defaultHeaders) protected final ObjectDefaultAggregatingMessageGroupProcessor.aggregatePayloads(MessageGroup group, Map<String, Object> headers) protected ObjectExpressionEvaluatingMessageGroupProcessor.aggregatePayloads(MessageGroup group, Map<String, Object> headers) Evaluate the expression provided on the messages (a collection) in the group, and delegate to theMessagingTemplateto send downstream.protected final ObjectMethodInvokingMessageGroupProcessor.aggregatePayloads(MessageGroup group, Map<String, Object> headers) DefaultAggregateHeadersFunction.apply(MessageGroup messageGroup) booleanExpressionEvaluatingReleaseStrategy.canRelease(MessageGroup messages) Evaluate the expression provided on theMessageGroupand return the result (must be boolean).booleanMessageCountReleaseStrategy.canRelease(MessageGroup group) Release the group if it has more messages than the threshold and has not previously been released.booleanMethodInvokingReleaseStrategy.canRelease(MessageGroup messages) booleanReleaseStrategy.canRelease(MessageGroup group) booleanSequenceSizeReleaseStrategy.canRelease(MessageGroup messageGroup) booleanSimpleSequenceSizeReleaseStrategy.canRelease(MessageGroup group) booleanTimeoutCountSequenceSizeReleaseStrategy.canRelease(MessageGroup messages) protected voidAbstractCorrelatingMessageHandler.completeGroup(Object correlationKey, MessageGroup group, Lock lock) protected Collection<Message<?>> AbstractCorrelatingMessageHandler.completeGroup(Message<?> message, Object correlationKey, MessageGroup group, Lock lock) protected voidAbstractCorrelatingMessageHandler.expireGroup(Object correlationKey, MessageGroup group, Lock lock) protected voidAbstractCorrelatingMessageHandler.forceComplete(MessageGroup group) protected ObjectAbstractCorrelatingMessageHandler.obtainGroupTimeout(MessageGroup group) final ObjectAbstractAggregatingMessageGroupProcessor.processMessageGroup(MessageGroup group) DelegatingMessageGroupProcessor.processMessageGroup(MessageGroup group) MessageGroupProcessor.processMessageGroup(MessageGroup group) Process the given MessageGroup.ResequencingMessageGroupProcessor.processMessageGroup(MessageGroup group) SimpleMessageGroupProcessor.processMessageGroup(MessageGroup group) protected voidAbstractCorrelatingMessageHandler.remove(MessageGroup group) Method parameters in org.springframework.integration.aggregator with type arguments of type MessageGroupModifier and TypeMethodDescriptionvoidAbstractAggregatingMessageGroupProcessor.setHeadersFunction(Function<MessageGroup, Map<String, Object>> headersFunction) Specify aFunctionto mapMessageGroupinto composed headers for output message.Constructors in org.springframework.integration.aggregator with parameters of type MessageGroupConstructor parameters in org.springframework.integration.aggregator with type arguments of type MessageGroupModifierConstructorDescriptionDelegatingMessageGroupProcessor(MessageGroupProcessor delegate, Function<MessageGroup, Map<String, Object>> headersFunction) -
Uses of MessageGroup in org.springframework.integration.config
Method parameters in org.springframework.integration.config with type arguments of type MessageGroupModifier and TypeMethodDescriptionvoidAggregatorFactoryBean.setHeadersFunction(Function<MessageGroup, Map<String, Object>> headersFunction) -
Uses of MessageGroup in org.springframework.integration.dsl
Method parameters in org.springframework.integration.dsl with type arguments of type MessageGroupModifier 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 aFunctionto merge and compute headers for reply based on the completedMessageGroup. -
Uses of MessageGroup in org.springframework.integration.file.aggregator
Methods in org.springframework.integration.file.aggregator with parameters of type MessageGroupModifier and TypeMethodDescriptionprotected ObjectFileAggregatingMessageGroupProcessor.aggregatePayloads(MessageGroup group, Map<String, Object> defaultHeaders) booleanFileAggregator.canRelease(MessageGroup group) booleanFileMarkerReleaseStrategy.canRelease(MessageGroup group) FileAggregator.processMessageGroup(MessageGroup group) -
Uses of MessageGroup in org.springframework.integration.jdbc.store
Methods in org.springframework.integration.jdbc.store that return MessageGroupModifier and TypeMethodDescriptionJdbcChannelMessageStore.addMessageToGroup(Object groupId, Message<?> message) Store a message in the database.JdbcChannelMessageStore.getMessageGroup(Object groupId) Not fully used.JdbcMessageStore.getMessageGroup(Object groupId) Methods in org.springframework.integration.jdbc.store that return types with arguments of type MessageGroup -
Uses of MessageGroup in org.springframework.integration.mongodb.store
Methods in org.springframework.integration.mongodb.store that return MessageGroupModifier 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) Methods in org.springframework.integration.mongodb.store that return types with arguments of type MessageGroup -
Uses of MessageGroup in org.springframework.integration.redis.store
Methods in org.springframework.integration.redis.store that return MessageGroupModifier 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
Classes in org.springframework.integration.store that implement MessageGroupModifier and TypeClassDescriptionclassRepresents a mutable group of correlated messages that is bound to a certainMessageStoreand group id.Classes in org.springframework.integration.store that implement interfaces with type arguments of type MessageGroupMethods in org.springframework.integration.store that return MessageGroupModifier and TypeMethodDescriptionAbstractMessageGroupStore.addMessageToGroup(Object groupId, Message<?> message) BasicMessageGroupStore.addMessageToGroup(Object groupId, Message<?> message) Store a message with an association to a group id.protected MessageGroupAbstractMessageGroupStore.copy(MessageGroup group) Used by expireMessageGroups.protected MessageGroupSimpleMessageStore.copy(MessageGroup group) Create aMessageGroupinstance 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 aMessageGroupinstance based on the providedgroupId.MessageGroupFactory.create(MessageGroupStore messageGroupStore, Object groupId, long timestamp, boolean complete) Create aMessageGroupinstance 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) Methods in org.springframework.integration.store that return types with arguments of type MessageGroupModifier and TypeMethodDescriptionAbstractKeyValueMessageStore.iterator()MessageGroupStore.iterator()SimpleMessageStore.iterator()Methods in org.springframework.integration.store with parameters of type MessageGroupModifier and TypeMethodDescriptionprotected MessageGroupAbstractMessageGroupStore.copy(MessageGroup group) Used by expireMessageGroups.protected MessageGroupSimpleMessageStore.copy(MessageGroup group) voidMessageGroupStore.MessageGroupCallback.execute(MessageGroupStore messageGroupStore, MessageGroup group) Constructors in org.springframework.integration.store with parameters of type MessageGroupModifierConstructorDescriptionMessageGroupMetadata(MessageGroup messageGroup) SimpleMessageGroup(MessageGroup messageGroup)