title: ActiveMQ to HornetQ causes exception
body: <p>I'm trying to send a JMS message using ActiveMQ to a server using HornetQ, and am having some difficulty. I would think that's a perfectly reasonable thing to do so I suspect there's some sort of (probably trivial) operator error on my end. Is there something that can be spotted here or something I should take a look at? The error happens when trying to create the session:</p>
  
  <p>On my end, I'm doing the following:</p>
  
  <pre><code> final ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(ActiveMQConnection.DEFAULT_USER, ActiveMQConnection.DEFAULT_PASSWORD, serverUrl);
   connection = connectionFactory.createQueueConnection();
   session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
  </code></pre>
  
  <p>On the server side they're seeing the following:</p>
  
  <pre><code>11:53:06,428 ERROR [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (Old I/O server worker (parentId: 1778858866, [id: 0x6a073b72, -hostname-])) 
  Failed to decode: java.lang.IllegalArgumentException: Invalid type: 1
  at org.hornetq.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:550) [hornetq-core-2.2.13.Final.jar:]
  ....
  </code></pre>