You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/18 13:40:00 UTC

[jira] [Commented] (ARTEMIS-1617) MQTTSubscriptionManager does not set the autoCreate flag to true for autoCreated addresses

    [ https://issues.apache.org/jira/browse/ARTEMIS-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330517#comment-16330517 ] 

ASF GitHub Bot commented on ARTEMIS-1617:
-----------------------------------------

GitHub user cshannon opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1788

    ARTEMIS-1617 - Properly set autoCreated flag on address

    Flag needs to be set when auto creating an address so that the address
    can be removed later if auto delete is configured when creating a
    subscription with MQTT

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cshannon/activemq-artemis ARTEMIS-1617

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1788.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1788
    
----
commit dbc21a0c0d245ee7eeab2f992d3150165add4d1b
Author: Christopher L. Shannon (cshannon) <ch...@...>
Date:   2018-01-18T13:36:07Z

    ARTEMIS-1617 - Properly set autoCreated flag on address
    
    Flag needs to be set when auto creating an address so that the address
    can be removed later if auto delete is configured when creating a
    subscription with MQTT

----


> MQTTSubscriptionManager does not set the autoCreate flag to true for autoCreated addresses
> ------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1617
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1617
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker, MQTT
>    Affects Versions: 2.4.0
>         Environment: Inside the MQTTSubscriptionManager if an address does not exist then the manage will auto create the address.  However the autoCreate flag is set to true which means the address won't be cleaned up later even if the address settings are configured for auto deletion of auto created addresses.
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Minor
>             Fix For: 2.5.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)