* @param isDeadLetterQueue is this queue a dead letter queue
* @return the container
* @throws JMSException
*/
private DurableQueueBoundedMessageContainer createContainer(ActiveMQDestination destination, boolean isDeadLetterQueue) throws JMSException {
MessageStore messageStore = persistenceAdapter.createQueueMessageStore(destination.getPhysicalName());
DurableQueueBoundedMessageContainer container = new DurableQueueBoundedMessageContainer(messageStore, threadPool, queueManager, destination, isDeadLetterQueue ? null : redeliveryPolicy, deadLetterPolicy);
addContainer(container);
if (started.get()) {
container.start();
}