https://issues.apache.org/jira/browse/AMQCPP-579
disable priority reordering on the client by default as it breaks the
ranged acks unless individual acks are in use.
diff --git a/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp b/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
index 535d7f3..cba5882 100644
--- a/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
+++ b/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
@@ -243,7 +243,7 @@
alwaysSyncSend(false),
useAsyncSend(false),
sendAcksAsync(true),
- messagePrioritySupported(true),
+ messagePrioritySupported(false),
watchTopicAdvisories(true),
useCompression(false),
useRetroactiveConsumer(false),
diff --git a/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp b/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
index d3ff8a8..dda3439 100644
--- a/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
+++ b/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
@@ -116,7 +116,7 @@
alwaysSyncSend(false),
useAsyncSend(false),
sendAcksAsync(true),
- messagePrioritySupported(true),
+ messagePrioritySupported(false),
useCompression(false),
useRetroactiveConsumer(false),
watchTopicAdvisories(true),