クラス MongoDbChannelMessageStore

実装されたすべてのインターフェース:
IterableSE<MessageGroup>AwareInitializingBeanApplicationContextAwareBasicMessageGroupStoreChannelMessageStoreMessageGroupStorePriorityCapableChannelMessageStore

public class MongoDbChannelMessageStore extends AbstractConfigurableMongoDbMessageStore implements PriorityCapableChannelMessageStore
MongoDB PriorityCapableChannelMessageStore の実装。このメッセージストアは、メッセージチャネルにのみ使用されます。

priorityEnabled オプションを提供して、priority 方式でメッセージをポーリングできるようにします。

優先ドキュメントフィールドとして、IntegrationMessageHeaderAccessor.PRIORITY メッセージヘッダーが使用されます。

同じコレクションを org.springframework.integration.channel.QueueChannel と org.springframework.integration.channel.PriorityChannel に使用できますが、これらの場合には MongoDbChannelMessageStore の異なるインスタンスを使用し、最後のインスタンスは priorityEnabled = true オプションを使用する必要があります。

導入:
4.0
作成者:
Artem Bilan, Adama Sorho, Youbin Wu