public class QueueProfile extends Object
QueueProfile determines how an internal queue for a service will behave| Constructor and Description |
|---|
QueueProfile(boolean persistent) |
QueueProfile(int maxOutstandingMessages,
boolean persistent) |
| Modifier and Type | Method and Description |
|---|---|
QueueConfiguration |
configureQueue(MuleContext context,
String component,
QueueManager queueManager) |
int |
getMaxOutstandingMessages()
This specifies the number of messages that can be queued before it starts blocking.
|
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.
|
String |
toString() |
public QueueProfile(boolean persistent)
public QueueProfile(int maxOutstandingMessages,
boolean persistent)
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 org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.