INT-3338: MongoMS: Add priority and sequence
JIRA: https://jira.spring.io/browse/INT-3338 INT-3338: Add Docs INT-3338: Make `priority` 'smart' Add `Sort` for all group queries dependently of `priorityEnabled`. Avoids the need to configure separate collections for different type of `MessageStore` INT-3338: Add `MongoDbChannelMessageStore` INT-3338: Polishing, Fixes, Improvements Doc Polishing Fix stream test.
This commit is contained in:
committed by
Gary Russell
parent
a7489909d7
commit
2ee179a891
@@ -25,6 +25,7 @@ import org.springframework.integration.context.IntegrationContextUtils;
|
||||
import org.springframework.integration.support.DefaultMessageBuilderFactory;
|
||||
import org.springframework.integration.support.MessageBuilderFactory;
|
||||
import org.springframework.jmx.export.annotation.ManagedAttribute;
|
||||
import org.springframework.jmx.export.annotation.ManagedResource;
|
||||
|
||||
/**
|
||||
* @author Dave Syer
|
||||
@@ -34,6 +35,7 @@ import org.springframework.jmx.export.annotation.ManagedAttribute;
|
||||
* @since 2.0
|
||||
*
|
||||
*/
|
||||
@ManagedResource
|
||||
public abstract class AbstractMessageGroupStore implements MessageGroupStore, Iterable<MessageGroup>,
|
||||
BeanFactoryAware {
|
||||
|
||||
@@ -153,4 +155,4 @@ public abstract class AbstractMessageGroupStore implements MessageGroupStore, It
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ import org.springframework.integration.support.locks.DefaultLockRegistry;
|
||||
import org.springframework.integration.support.locks.LockRegistry;
|
||||
import org.springframework.integration.util.UpperBound;
|
||||
import org.springframework.jmx.export.annotation.ManagedAttribute;
|
||||
import org.springframework.jmx.export.annotation.ManagedResource;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.MessagingException;
|
||||
import org.springframework.util.Assert;
|
||||
@@ -43,7 +42,6 @@ import org.springframework.util.CollectionUtils;
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
@ManagedResource
|
||||
public class SimpleMessageStore extends AbstractMessageGroupStore
|
||||
implements MessageStore, ChannelMessageStore {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user