activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Receiving multiple duplicate messages - Beginner question
Date Fri, 29 Jan 2016 05:51:41 GMT
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, "Bjand" <bjand@danskebank.dk> wrote:

> 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.acknowledge method. This do not solve the problem.
>
> Another observation is that the problem does not exist when the
> request/response messages are called on the same connection. It is does
> show
> when the response code is running in a windows service, and request is
> called from a client on a different machine.
>
> Any ideas what the hopefully simple problem is?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Receiving-multiple-duplicate-messages-Beginner-question-tp4706474p4706607.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message