}
};
}
public TopicMessageStore proxy(TopicMessageStore messageStore) {
return new ProxyTopicMessageStore(messageStore) {
public void addMessage(final ActiveMQMessage message) throws JMSException {
VMTransactionStore.this.addMessage(getDelegate(), message);
}
public void removeMessage(final MessageAck ack) throws JMSException {
VMTransactionStore.this.removeMessage(getDelegate(), ack);