listMessagesAsJSON fails to list messages if filter property coanitns '\n' character. For example filter '%1234%' will list messages containing 'hello1234' but it will not list the same message if the string is 'hello1234\n'.
Verified with EAP 6.2.3.CP.CR2 / HornetQ 2.3.14.1.Final