use of org.mule.runtime.core.api.util.queue.DefaultQueueConfiguration in project mule by mulesoft.
the class QueueProfile method configureQueue.
public QueueConfiguration configureQueue(String component, QueueManager queueManager) throws InitialisationException {
QueueConfiguration qc = new DefaultQueueConfiguration(maxOutstandingMessages, persistent);
queueManager.setQueueConfiguration(component, qc);
return qc;
}
use of org.mule.runtime.core.api.util.queue.DefaultQueueConfiguration in project mule by mulesoft.
the class TransactionalQueueManager method getRecoveryQueue.
@Override
public RecoverableQueueStore getRecoveryQueue(String queueName) {
if (queuesAccessedForRecovery.containsKey(queueName)) {
return queuesAccessedForRecovery.get(queueName);
}
DefaultQueueStore queueStore = createQueueStore(queueName, new DefaultQueueConfiguration(0, true));
queuesAccessedForRecovery.put(queueName, queueStore);
return queueStore;
}
Aggregations