|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.util.queue.objectstore.xa.AbstractResourceManager
org.mule.util.queue.objectstore.xa.AbstractXAResourceManager
org.mule.util.queue.objectstore.TransactionalQueueManager
@Deprecated public class TransactionalQueueManager
The Transactional Queue Manager is responsible for creating and Managing transactional Queues. Queues can also be persistent by setting a persistence strategy on the manager. Default straties are provided for Memory, Jounaling, Cache and File.
| Field Summary |
|---|
| Fields inherited from class org.mule.util.queue.objectstore.xa.AbstractXAResourceManager |
|---|
activeContexts, suspendedContexts |
| Fields inherited from class org.mule.util.queue.objectstore.xa.AbstractResourceManager |
|---|
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 |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
TransactionalQueueManager()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.mule.util.queue.objectstore.xa.AbstractXAResourceManager |
|---|
getTransactionalResource, includeBranchInXid |
| Methods inherited from class org.mule.util.queue.objectstore.xa.AbstractResourceManager |
|---|
assureReady, assureStarted, beginTransaction, commitTransaction, getDefaultTransactionTimeout, prepareTransaction, rollbackTransaction, setDefaultTransactionTimeout, setDirty, setTransactionRollbackOnly, start, startTransaction, stop, stop, stop, waitForAllTxToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mule.api.lifecycle.Startable |
|---|
start |
| Methods inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
stop |
| Constructor Detail |
|---|
public TransactionalQueueManager()
| Method Detail |
|---|
public QueueSession getQueueSession()
QueueSession bounded to this
QueueManager
getQueueSession in interface QueueManagerTransactionalQueueSessionpublic void setDefaultQueueConfiguration(QueueConfiguration config)
QueueConfiguration for any created Queue for
which a custom configuration hasn't been specified
setDefaultQueueConfiguration in interface QueueManagerconfig - an instance of QueueConfiguration
public void setQueueConfiguration(String queueName,
QueueConfiguration config)
QueueConfiguration for the queue which name matches
queueName
setQueueConfiguration in interface QueueManagerqueueName - the name of a Queueconfig - an instance of QueueConfiguration
protected void disposeQueue(Queue queue)
throws MuleException,
InterruptedException
MuleException
InterruptedExceptionprotected QueueInfo getQueue(String name)
protected QueueInfo getQueue(String name,
QueueConfiguration config)
public QueueInfo getQueueInfo(String name)
protected void doStart()
throws ResourceManagerSystemException
doStart in class AbstractResourceManagerResourceManagerSystemException
protected boolean shutdown(int mode,
long timeoutMSecs)
shutdown in class AbstractResourceManager
protected 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 AbstractResourceManager
protected void doCommit(AbstractTransactionContext context)
throws ResourceManagerException
doCommit in class AbstractResourceManagerResourceManagerException
protected Serializable doStore(QueueInfo queue,
Serializable object)
throws ObjectStoreException
ObjectStoreException
protected void doClear(QueueInfo queue)
throws ObjectStoreException,
InterruptedException
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 AbstractResourceManagerResourceManagerExceptionprotected void findAllListableObjectStores()
protected void findAllQueueStores()
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarepublic MuleContext getMuleContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||