title: EasyNetQ not reading messages from queue published with RabbitMQ Java Client API
body: <p>We are using Coldfusion utilising the java RabbitMQ Client API to publish messages to a Queue, and then using EasyNetQ to read the messages from the queue using C#. </p>
  
  <p>The message is a string.</p>
  
  <p>The java Client is publishing messages as an unseralized bytearray with a content-type of text/plain.</p>
  
  <p>When we try and read the message from the queue we always get a EasyNetQ.EasyNetQInvalidMessageTypeException thrown, no matter the type of the message as defined on the EasyNetQ side.  I have tried it as byte array and just a basic object.  I think  EasyNetQ is expecting a serialized object every time?</p>
  
  <p>The exception we are getting is</p>
  
  <blockquote>
    <p>Message:
        2344462
        BasicProperties:
        (content-type=text/plain, content-encoding=<em>, headers=</em>, delivery-mode=1, priori
        ty=0, correlation-id=<em>, reply-to=</em>, expiration=<em>, message-id=</em>, timestamp=<em>, typ
        e=</em>, user-id=<em>, app-id=</em>, cluster-id=_)</p>
    
    <p>Exception:
        EasyNetQ.EasyNetQInvalidMessageTypeException: Message type is incorrect. Expecte
        d 'System_Byte[]:mscorlib', but was ''</p>
  </blockquote>
  
  <p>Can anyone help please?</p>