use of org.mule.runtime.core.api.util.queue.Queue in project mule by mulesoft.
the class QueueTestComponent method testDisposal.
public void testDisposal(QueueManager mgr, boolean transactional) throws Exception {
final String queueName = "myQueue";
mgr.start();
QueueSession session = mgr.getQueueSession();
if (transactional) {
session.begin();
}
Queue queue = mgr.getQueueSession().getQueue(queueName);
this.assertQueueDisposal(mgr, queue, transactional ? session : null, queueName);
}
Aggregations