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 2016/05/02 22:28:12 UTC

[jira] [Resolved] (AMQ-5880) AMQ does not accept long (>32kb) MQTT topic filters in SUBSCRIBE

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

Timothy Bish resolved AMQ-5880.
-------------------------------
       Resolution: Fixed
         Assignee: Timothy Bish
    Fix Version/s: 5.14.0

> AMQ does not accept long (>32kb) MQTT topic filters in SUBSCRIBE
> ----------------------------------------------------------------
>
>                 Key: AMQ-5880
>                 URL: https://issues.apache.org/jira/browse/AMQ-5880
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.11.1
>         Environment: OSX 10.10
> https://github.com/ckrey/MQTT-Client-Framework testcases
>            Reporter: Christoph Krey
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 5.14.0
>
>
> Trying to send topic length 32767 works
> 65521, 65534, 65535 do not work
> AMQ says:
> WARN | Transport Connection to: tcp://0:0:0:0:0:0:0:1:52308 failed: java.io.IOException: Unexpected error occurred: java.lang.ArrayIndexOutOfBoundsException: -1
>  WARN | Transport Connection to: tcp://0:0:0:0:0:0:0:1:52612 failed: java.io.IOException: Unexpected error occurred: java.lang.ArrayIndexOutOfBoundsException: -1
>  WARN | Transport Connection to: tcp://0:0:0:0:0:0:0:1:52625 failed: java.io.IOException: Unexpected error occurred: java.lang.ArrayIndexOutOfBoundsException: -11
> MQTT spec says:
> [MQTT-4.7.3-3]
> Topic Names and Topic Filters are UTF-8 encoded strings, they MUST NOT encode to more than 65535 bytes.



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