@Deprecated public class TransactionalQueueManager extends AbstractXAResourceManager implements QueueManager, MuleContextAware
activeContexts, suspendedContextsDEFAULT_COMMIT_TIMEOUT_FACTOR, DEFAULT_TIMEOUT_MSECS, defaultTimeout, dirty, globalTransactions, logger, OPERATION_MODE_RECOVERING, OPERATION_MODE_STARTED, OPERATION_MODE_STARTING, OPERATION_MODE_STOPPED, OPERATION_MODE_STOPPING, operationMode, SHUTDOWN_MODE_KILL, SHUTDOWN_MODE_NORMAL, SHUTDOWN_MODE_ROLLBACKPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
TransactionalQueueManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractTransactionContext |
createTransactionContext(Object session)
Deprecated.
|
protected void |
disposeQueue(Queue queue)
Deprecated.
|
protected void |
doBegin(AbstractTransactionContext context)
Deprecated.
|
protected void |
doClear(QueueInfo queue)
Deprecated.
|
protected void |
doCommit(AbstractTransactionContext context)
Deprecated.
|
protected Serializable |
doLoad(QueueInfo queue,
Serializable id)
Deprecated.
|
protected int |
doPrepare(AbstractTransactionContext context)
Deprecated.
|
protected void |
doRemove(QueueInfo queue,
Serializable id)
Deprecated.
|
protected void |
doRollback(AbstractTransactionContext context)
Deprecated.
|
protected void |
doStart()
Deprecated.
|
protected Serializable |
doStore(QueueInfo queue,
Serializable object)
Deprecated.
|
protected void |
findAllListableObjectStores()
Deprecated.
|
protected void |
findAllQueueStores()
Deprecated.
|
MuleContext |
getMuleContext()
Deprecated.
|
protected QueueInfo |
getQueue(String name)
Deprecated.
|
protected QueueInfo |
getQueue(String name,
QueueConfiguration config)
Deprecated.
|
QueueInfo |
getQueueInfo(String name)
Deprecated.
|
QueueSession |
getQueueSession()
Deprecated.
Returns a new instance of
QueueSession bounded to this
QueueManager |
protected void |
recover()
Deprecated.
|
void |
setDefaultQueueConfiguration(QueueConfiguration config)
Deprecated.
Sets the default
QueueConfiguration for any created Queue for
which a custom configuration hasn't been specified |
void |
setMuleContext(MuleContext context)
Deprecated.
|
void |
setQueueConfiguration(String queueName,
QueueConfiguration config)
Deprecated.
Specifies a
QueueConfiguration for the queue which name matches
queueName |
protected boolean |
shutdown(int mode,
long timeoutMSecs)
Deprecated.
|
getTransactionalResource, includeBranchInXidassureReady, assureStarted, beginTransaction, commitTransaction, getDefaultTransactionTimeout, prepareTransaction, rollbackTransaction, setDefaultTransactionTimeout, setDirty, setTransactionRollbackOnly, start, startTransaction, stop, stop, stop, waitForAllTxToStoppublic QueueSession getQueueSession()
QueueSession bounded to this
QueueManagergetQueueSession in interface QueueManagerTransactionalQueueSessionpublic void setDefaultQueueConfiguration(QueueConfiguration config)
QueueConfiguration for any created Queue for
which a custom configuration hasn't been specifiedsetDefaultQueueConfiguration in interface QueueManagerconfig - an instance of QueueConfigurationpublic void setQueueConfiguration(String queueName, QueueConfiguration config)
QueueConfiguration for the queue which name matches
queueNamesetQueueConfiguration in interface QueueManagerqueueName - the name of a Queueconfig - an instance of QueueConfigurationprotected void disposeQueue(Queue queue) throws MuleException, InterruptedException
MuleExceptionInterruptedExceptionprotected QueueInfo getQueue(String name, QueueConfiguration config)
protected void doStart()
throws ResourceManagerSystemException
doStart in class AbstractResourceManagerResourceManagerSystemExceptionprotected boolean shutdown(int mode,
long timeoutMSecs)
shutdown in class AbstractResourceManagerprotected void recover()
throws ResourceManagerSystemException
recover in class AbstractResourceManagerResourceManagerSystemExceptionprotected AbstractTransactionContext createTransactionContext(Object session)
createTransactionContext in class AbstractResourceManagerprotected void doBegin(AbstractTransactionContext context)
doBegin in class AbstractResourceManagerprotected int doPrepare(AbstractTransactionContext context)
doPrepare in class AbstractResourceManagerprotected void doCommit(AbstractTransactionContext context) throws ResourceManagerException
doCommit in class AbstractResourceManagerResourceManagerExceptionprotected Serializable doStore(QueueInfo queue, Serializable object) throws ObjectStoreException
ObjectStoreExceptionprotected void doClear(QueueInfo queue) throws ObjectStoreException, InterruptedException
protected void doRemove(QueueInfo queue, Serializable id) throws ObjectStoreException
ObjectStoreExceptionprotected Serializable doLoad(QueueInfo queue, Serializable id) throws ObjectStoreException
ObjectStoreExceptionprotected void doRollback(AbstractTransactionContext context) throws ResourceManagerException
doRollback in class AbstractResourceManagerResourceManagerExceptionprotected void findAllListableObjectStores()
protected void findAllQueueStores()
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarepublic MuleContext getMuleContext()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.