org.mule.util.queue
Class AbstractQueueSession
java.lang.Object
org.mule.util.queue.AbstractQueueSession
- All Implemented Interfaces:
- XAResource, QueueSession
- Direct Known Subclasses:
- TransactionalQueueSession
public abstract class AbstractQueueSession
- extends Object
- implements QueueSession
| Fields inherited from interface javax.transaction.xa.XAResource |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractQueueSession
public AbstractQueueSession(QueueProvider queueProvider,
MuleContext muleContext)
getQueue
public Queue getQueue(String name)
- Description copied from interface:
QueueSession
- Retrieves a queue.
- Specified by:
getQueue in interface QueueSession
- Parameters:
name - identifier of the queue to retrieve
- Returns:
- the queue
getQueueProvider
protected QueueProvider getQueueProvider()
getMuleContext
protected MuleContext getMuleContext()
getTransactionalContext
protected abstract QueueTransactionContext getTransactionalContext()
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.