This is a bug. The problem is that the broker is using a long value when it
should be using an int value instead as defined in the JMS specification. A
very similar bug [1] was fixed a while back.
I just opened a new issue for this [2]. I'll send a PR shortly.
Thanks for the report!
Justin
[1]
Hi,
Test environment: Linux Fedora 32, OpenJDK Runtime Environment (build
1.8.0_275-b01), activemq-cpp-library-3.9.5, apache-artemis-2.16.0
1) Start Artemis server with default configuration, then run from
apache-activemq-5.15.11/bin: "activemq producer", "activemq consumer"
---> all ok, all
Brian,
Sounds good, I'm glad you got it working.
Tim
On Mon, Feb 1, 2021, 10:05 PM Brian Ramprasad wrote:
> Hi Tim,
>
> Thanks for your reply. I actually came across your stack overflow post and
> I tried it out but it didn’t work for me.
>
> I ended up using multiple bridges between datacente