Re: Receiving multiple duplicate messages - Beginner question

2016-01-29 Thread Tim Bain
I'm still not seeing an acknowledge call on the message. What am I missing? On Jan 28, 2016 11:25 PM, "Bjand" wrote: > I made a connection manager, since a connection is also used in a Pub/Sub > implementation. The connection manager simply holds the Connection, > Session, > Username and Passwor

Re: Receiving multiple duplicate messages - Beginner question

2016-01-28 Thread Bjand
I made a connection manager, since a connection is also used in a Pub/Sub implementation. The connection manager simply holds the Connection, Session, Username and Password(if they are required), and also ensures closure on disposal. The missing code is is the Connect method where the Factory is

Re: Receiving multiple duplicate messages - Beginner question

2016-01-28 Thread Tim Bain
I agree, redelivery of request messages means you're not acking them correctly, and a change in behavior due to changing your redelivery policy further proves the point. You say you're doing that, but I don't see it in the code you posted. Am I missing something? Tim On Jan 28, 2016 1:43 PM, "Bj

Re: Receiving multiple duplicate messages - Beginner question

2016-01-28 Thread Bjand
Some extra info: I managed to consistently get 1:1 in my request/response code. I did this by changing the redeliverypolicy.maximumRedeliveries to 0. I don't like this solution, but suggests that problem is acknowledgement of messages. I have previously acknowledge in the code by calling the msg.ac