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 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

Receiving multiple duplicate messages - Beginner question

2016-01-26 Thread Bjand
Hi I am new to ActiveMQ and trying to make a Request/Response wrapper in C# using Apache.NMS.ActiveMQ 1.7.1. So far I am able to setup the connection and session, and also send and receive message. The only issue is that when I send one message from a client, the server consumer receives the mess