@Deprecated public class TransactionalQueueManager extends AbstractXAResourceManager implements QueueManager, MuleContextAware
activeContexts, suspendedContexts
DEFAULT_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_ROLLBACK
PHASE_NAME
PHASE_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, includeBranchInXid
assureReady, assureStarted, beginTransaction, commitTransaction, getDefaultTransactionTimeout, prepareTransaction, rollbackTransaction, setDefaultTransactionTimeout, setDirty, setTransactionRollbackOnly, start, startTransaction, stop, stop, stop, waitForAllTxToStop
public QueueSession getQueueSession()
QueueSession
bounded to this
QueueManager
getQueueSession
in interface QueueManager
TransactionalQueueSession
public void setDefaultQueueConfiguration(QueueConfiguration config)
QueueConfiguration
for any created Queue
for
which a custom configuration hasn't been specifiedsetDefaultQueueConfiguration
in interface QueueManager
config
- an instance of QueueConfiguration
public void setQueueConfiguration(String queueName, QueueConfiguration config)
QueueConfiguration
for the queue which name matches
queueNamesetQueueConfiguration
in interface QueueManager
queueName
- the name of a Queue
config
- an instance of QueueConfiguration
protected void disposeQueue(Queue queue) throws MuleException, InterruptedException
MuleException
InterruptedException
protected QueueInfo getQueue(String name, QueueConfiguration config)
protected void doStart() throws ResourceManagerSystemException
doStart
in class AbstractResourceManager
ResourceManagerSystemException
protected boolean shutdown(int mode, long timeoutMSecs)
shutdown
in class AbstractResourceManager
protected void recover() throws ResourceManagerSystemException
recover
in class AbstractResourceManager
ResourceManagerSystemException
protected AbstractTransactionContext createTransactionContext(Object session)
createTransactionContext
in class AbstractResourceManager
protected void doBegin(AbstractTransactionContext context)
doBegin
in class AbstractResourceManager
protected int doPrepare(AbstractTransactionContext context)
doPrepare
in class AbstractResourceManager
protected void doCommit(AbstractTransactionContext context) throws ResourceManagerException
doCommit
in class AbstractResourceManager
ResourceManagerException
protected Serializable doStore(QueueInfo queue, Serializable object) throws ObjectStoreException
ObjectStoreException
protected void doClear(QueueInfo queue) throws ObjectStoreException, InterruptedException
protected void doRemove(QueueInfo queue, Serializable id) throws ObjectStoreException
ObjectStoreException
protected Serializable doLoad(QueueInfo queue, Serializable id) throws ObjectStoreException
ObjectStoreException
protected void doRollback(AbstractTransactionContext context) throws ResourceManagerException
doRollback
in class AbstractResourceManager
ResourceManagerException
protected void findAllListableObjectStores()
protected void findAllQueueStores()
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public MuleContext getMuleContext()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.