[
https://issues.apache.org/jira/browse/ARTEMIS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877139#comment-17877139
]
Timothy A. Bish commented on ARTEMIS-4978:
------------------------------------------
Initial comment on the attached test is that it is incorrectly assuming that
the JMS MessageProducer will apply message priority set on the message via
*message.setJMSPriority(N)* which is specifically called out in the JMS API
docs as not supported (although it seems like Core applies that value in
error). So you should update your test to use the message producer
*producer.setPriority(N)* instead.
> JMX message replay from retention cannot find AMQP messages when using filters
> ------------------------------------------------------------------------------
>
> Key: ARTEMIS-4978
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4978
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP, JMX, management
> Affects Versions: 2.36.0
> Reporter: Jean-Pascal Briquet
> Priority: Minor
> Attachments: ReplayTest.java
>
>
> Attempting to recover messages with replay and filters fails to find AMQP
> messages.
> The following message properties used in filter do not match AMQP messages in
> retention files : AMQTimestamp, AMQPriority, ... which cause the replay
> process to be unable to restore the message.
>
> To reproduce, I have enhanced the existing message replay test case to verify
> filter behaviour.
> To run it, just replace the existing Artemis test class located in
> "tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/retention"
> with the provided one.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact