/** * @param destination * @return MessageStore * @throws IOException * @see org.apache.activemq.store.PersistenceAdapter#createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue) */ @Override public MessageStore createQueueMessageStore(ActiveMQQueue destination) throws IOException { return this.letter.createQueueMessageStore(destination); }
private KahaDBMessageStore findMatchingStore(ActiveMQDestination activeMQDestination) throws IOException { ProxyMessageStore store = (ProxyMessageStore) storeCache.get(convert(activeMQDestination)); if (store == null) { if (activeMQDestination.isQueue()) { store = (ProxyMessageStore) createQueueMessageStore((ActiveMQQueue) activeMQDestination); } else { store = (ProxyMessageStore) createTopicMessageStore((ActiveMQTopic) activeMQDestination); } } return (KahaDBMessageStore) store.getDelegate(); }
/** * @param destination * @return MessageStore * @throws IOException * @see org.apache.activemq.store.PersistenceAdapter#createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue) */ public MessageStore createQueueMessageStore(ActiveMQQueue destination) throws IOException { return this.letter.createQueueMessageStore(destination); }
/** * @param destination * @return MessageStore * @throws IOException * @see org.apache.activemq.store.PersistenceAdapter#createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue) */ @Override public MessageStore createQueueMessageStore(ActiveMQQueue destination) throws IOException { return this.letter.createQueueMessageStore(destination); }
/** * @param destination * @return MessageStore * @throws IOException * @see org.apache.activemq.store.PersistenceAdapter#createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue) */ @Override public MessageStore createQueueMessageStore(ActiveMQQueue destination) throws IOException { return this.letter.createQueueMessageStore(destination); }
/** * @param destination * @return MessageStore * @throws IOException * @see org.apache.activemq.store.PersistenceAdapter#createQueueMessageStore(org.apache.activemq.command.ActiveMQQueue) */ @Override public MessageStore createQueueMessageStore(ActiveMQQueue destination) throws IOException { return this.letter.createQueueMessageStore(destination); }