clebertsuconic commented on a change in pull request #3448:
URL: https://github.com/apache/activemq-artemis/pull/3448#discussion_r574053819
##########
File path:
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/AmqpCoreConverter.java
##########
@@ -264,8 +266,8 @@ protected static ServerJMSMessage
processHeader(ServerJMSMessage jms, Header hea
jms.setLongProperty("JMSXDeliveryCount",
header.getDeliveryCount().longValue() + 1);
}
} else {
- jms.setJMSPriority((byte) javax.jms.Message.DEFAULT_PRIORITY);
- jms.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
+ jms.setJMSPriority((byte) MESSAGE_DEFAULT_PRIORITY);
Review comment:
The AMQP Protocol implementation is depending on the JMS implementation.
Going forward we have Jakarta and JMS (at the point they are a transformation).
There makes no sense to force a direct dependency on it.
Wildfly is having to import JMS just because of this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]