activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaelandrepearce <>
Subject [GitHub] activemq-artemis pull request #1358: ARTEMIS-1244 propagate retain flag of r...
Date Thu, 22 Jun 2017 07:52:33 GMT
Github user michaelandrepearce commented on a diff in the pull request:
    --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/
    @@ -256,6 +258,7 @@ void handlePubAck(int messageId) throws Exception {
        private void sendServerMessage(int messageId, CoreMessage message, int deliveryCount,
int qos) {
           String address = MQTTUtil.convertCoreAddressFilterToMQTT(message.getAddress().toString(),
    +      boolean isRetain = message.getBooleanProperty(new SimpleString(MQTT_MESSAGE_RETAIN_KEY));
    --- End diff --
    message.getBooleanProperty returns big B Boolean, as such need to handle case of null.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message