You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/07/03 00:49:04 UTC

[jira] [Closed] (AMQ-5452) MQTT namespace (CONTAINERID) in the DB is not in JMS namespace format..

     [ https://issues.apache.org/jira/browse/AMQ-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQ-5452.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 5.12.0

Changes in the MQTT layer for 5.12 remove the need to dip into the store on each connection / subscription.

> MQTT namespace (CONTAINERID) in the DB is not in JMS namespace format.. 
> ------------------------------------------------------------------------
>
>                 Key: AMQ-5452
>                 URL: https://issues.apache.org/jira/browse/AMQ-5452
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 5.11.0
>            Reporter: Curt Jutzi
>            Priority: Minor
>             Fix For: 5.12.0
>
>         Attachments: MQTTDefaultSubscriptionStrategy.patch, MQTTProtocolConverter.patch, MQTTVirtualTopicSubscriptionStrategy.patch
>
>
> Currently (in the latest release 5.11) the MQTT name-space as it's given in the incoming message is stored in the DB.  One optimization I had to make on unsubscribe was to ensure the namespaces lined up with JMS to eliminate a dip into the database for each subscription.. For me to do this, the 'destinations' Map names needed to correlate with the JMS name.. 
> I moved the name conversion to the top layer so as to align these two.. 
> I also had to add a escape feature such that an MQTT Name space could use a '.' in the namespace without major JMS confusion.. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)