Re: Duplicate Messages

2019-01-15 Thread ldebello
I have just being able to reproduce it . I have to add the two following lines. createQueue(0, "x.Provider.y.Agent.z.Status", "x.Provider.y.Agent.z.Status", null, false, "admin" , "admin", RoutingType.ANYCAST); createQueue(1, "x.Provider.y.Agent.z.Status", "x.Provider.y.Agent.z.Status", null, fals

Re: Duplicate Messages

2019-01-15 Thread ldebello
Hi, I was trying to create a test case for this issue but I am not being able to replicate it in an automatic tests, I was debugging the servers that use for reproduce the issue and print all the binding information from one of them. = Start Server 1 *Start* LocalQueueBinding [address=Notificati

Re: Why input string param length limit on writeUTF(…) of ActiveMQBytesMessage.java

2019-01-15 Thread Timothy Bish
The JMS API states that the methods of JMS BytesMessage "are based largely on those found in |java.io.DataInputStream| and |java.io.DataOutputStream|." which is why most implementations will rightly encode using a size value of two bytes to match that of the DataOutputStream writeUTF implementa

Re: Why input string param length limit on writeUTF(…) of ActiveMQBytesMessage.java

2019-01-15 Thread Justin Bertram
When the UTF string is written to the byte buffer the size is written as an unsigned short which has a max size of 65,535. This may be possible to change, but there will be compatibility issues to deal with for older clients which send buffers using the old format. Justin On Tue, Jan 15, 2019 at

Why input string param length limit on writeUTF(…) of ActiveMQBytesMessage.java

2019-01-15 Thread Youyu Shao
Hi, What is the reason that method: public void writeUTF(final String value) of org.apache.activemq.artemis.jms.client.ActiveMQBytesMessage.java imposes length limit on the input string parameter? It seems that the length is limited to either 32767 (or 65535). wrtieUTF(...) is a JMS interface met

Why input string param length limit on writeUTF(…) of ActiveMQBytesMessage.java

2019-01-15 Thread Youyu Shao
Hi, What is the reason that method: public void writeUTF(final String value) of org.apache.activemq.artemis.jms.client.ActiveMQBytesMessage.java imposes length limit on the input string parameter? It seems that the length is limited to either 32767 (or 65535). writeUTF(…) is a JMS interface metho

Re: activemq-trunk does not compile with Zulu JDK7/8

2019-01-15 Thread ldebello
I have just posted this here in case someone else hit this issue, giving the fact this is very specific to zulu jvm which is not being taking into account in xstream, I do not want to slow down the build of everybody just because my build fails. Also the useCache is marked as experimental in docume