In terms of potential sources of problems with using Messenger, there are many.

I seem to recall Messenger for a long time (or possibly still, I
forget) settling messages without actually setting any delivery state,
i.e the bit that indicates the message was accepted (/other). I
believe in that case Artemis will not consider it accepted, whereas
possibly qpidd did (I dont know/recall). You could run the application
with PN_TRACE_FRM=1 env variable set to see the protocol trace and
confirm whether that is the case.

Another potential source of issue could be its particular 'window'
handling behaviour, e.g see some discussion on that in this not too
dissimilar thread from a few years ago on the Qpid users list:
https://lists.apache.org/thread/95b1gycw8n3h3yc6wcb3h1lgv6ovzfry

As that thread also talks to, regardless of the issue I'd really
suggest you consider migrating off messenger in your application code,
especially if you are already looking at migrating your broker.
Messenger has not been actively developed in over a decade, and was
being supplanted (but not necessarily directly replaced, especially if
this is pure C you are using) by newer APIs before then too due to its
many specific nuances and limitations; you won't really find anyone
willing or able to give it attention these days.

Robbie

On Fri, 18 Jul 2025 at 09:24, Michael Ivanov <deruh...@mail.ru.invalid> wrote:
>
> Greetings!
>
> I am reading AMQP messages to artemis broker from ANYCAST queue, but they are 
> not deleted
> and received again, when receiver program is restarted. The messages are read 
> with old program,
> which uses proton messenger.
>
> After each message is handled, it is acknowledged using: 
> pn_messenger_accept(_messenger, tracker, PN_CUMULATIVE) call.
> This program works properly with qpidd broker. What do I miss with artemis?
>
> --
> Best regards,
> Michael.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
> For additional commands, e-mail: users-h...@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
For additional commands, e-mail: users-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to