You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christoph Krey (JIRA)" <ji...@apache.org> on 2015/07/15 07:43:04 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14627566#comment-14627566 ]
Christoph Krey commented on AMQ-5880:
-------------------------------------
Issue happens against Apollo 1.7.1 too!
> 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
> Priority: Minor
>
> 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)