Description
In ProxyMessageStore the method asyncAddTopicMessage does not call the delegate method as it should. This causes a StackOverflowError if the method is called as it will just recursively keep calling the same method over and over again.
The problem is here on line 141 of ProxyMessageStore.java:
@Override public ListenableFuture<Object> asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint) throws IOException { return asyncAddTopicMessage(context,message,canOptimizeHint); }
This simply should be changed to:
@Override public ListenableFuture<Object> asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint) throws IOException { return delegate.asyncAddTopicMessage(context,message,canOptimizeHint); }