public class QueueProfile extends Object
QueueProfile
determines how an internal queue for a service will
behaveConstructor and Description |
---|
QueueProfile(int maxOutstandingMessages,
QueueStore<Serializable> objectStore) |
QueueProfile(QueueProfile queueProfile) |
QueueProfile(QueueStore<Serializable> objectStore) |
Modifier and Type | Method and Description |
---|---|
void |
addQueueStore(QueueStore<Serializable> objectStore) |
QueueConfiguration |
configureQueue(MuleContext context,
String component,
QueueManager queueManager) |
int |
getMaxOutstandingMessages()
This specifies the number of messages that can be queued before it starts
blocking.
|
ListableObjectStore<Serializable> |
getObjectStore() |
static QueueProfile |
newInstancePersistingToDefaultMemoryQueueStore(MuleContext muleContext) |
static QueueProfile |
newInstanceWithPersistentQueueStore(MuleContext muleContext) |
void |
setMaxOutstandingMessages(int maxOutstandingMessages)
This specifies the number of messages that can be queued before it starts
blocking.
|
void |
setQueueStore(QueueStore<Serializable> objectStore) |
QueueConfiguration |
toQueueConfiguration(MuleContext context) |
String |
toString() |
public QueueProfile(QueueStore<Serializable> objectStore)
public QueueProfile(QueueProfile queueProfile)
public QueueProfile(int maxOutstandingMessages, QueueStore<Serializable> objectStore)
public static QueueProfile newInstancePersistingToDefaultMemoryQueueStore(MuleContext muleContext)
public static QueueProfile newInstanceWithPersistentQueueStore(MuleContext muleContext)
public int getMaxOutstandingMessages()
public void setMaxOutstandingMessages(int maxOutstandingMessages)
maxOutstandingMessages
- the max number of messages that will be queuedpublic QueueConfiguration configureQueue(MuleContext context, String component, QueueManager queueManager) throws InitialisationException
InitialisationException
public QueueConfiguration toQueueConfiguration(MuleContext context)
public ListableObjectStore<Serializable> getObjectStore()
public void setQueueStore(QueueStore<Serializable> objectStore)
public void addQueueStore(QueueStore<Serializable> objectStore)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.