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 subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/01 22:21:18 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=15174425#comment-15174425 ]
ASF subversion and git services commented on AMQ-5880:
------------------------------------------------------
Commit 8ef44452a24685dea52b0757960c1a750abd4246 in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=8ef4445 ]
https://issues.apache.org/jira/browse/AMQ-5880
Adds a test for the issue that is ignored for now while we wait for a
fixed MQTT client release.
> 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)