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

Timothy Bish commented on AMQ-5880:
-----------------------------------

This is caused by a bug in the FuseSource MQTT client codecs used in the 
protocol converter.  I've committed a fix there for this but a new release is 
needed before this will be fixed broker side. 

> 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)

Reply via email to