}
protected MessageContainer createTopicMessageContainer() throws JMSException {
if (destination.isTopic()) {
return new DurableTopicMessageContainer(null, persistenceAapter.createTopicMessageStore(destination.toString()), destination.toString());
}
else {
return new DurableQueueMessageContainer(persistenceAapter, persistenceAapter.createQueueMessageStore(destination.toString()), destination.toString());
}
}