title: ZeroMQ reordering
body: <p>I'm using DEALER (outboudSocket), ROUTER (inboundSocket) sockets to connect two applications on local machine. The protocol used is tcp. I'm using java zeromq bindings and just one NIO thread:</p>
  
  <pre><code>ZMQ.Context zmqContext = ZMQ.context(1);
  </code></pre>
  
  <p>I have one thread on the sending side, taking messages from blocking queue in while loop and performing send:</p>
  
  <pre><code>private void send(String msg){
       outboundSocket.sendMore("");
       outboundSocket.send(msg);
  }
  </code></pre>
  
  <p>And one thread on the receiving side, taking message from socket in while loop and putting it to blocking queue:</p>
  
  <pre><code>private String recv(){
      inboundSocket.recv();
      inboundSocket.recv();
      return new String(inboundSocket.recv());
  }
  </code></pre>
  
  <p>Is there any gurantee that messages will never be reordered?</p>