title: Sending a JMS message to a remote queue on JBoss AS 5 and AS 7
body: <p>I have two servers </p>
  
  <ol>
  <li>JBoss as 5.1 with an application sending JMS messages</li>
  <li>JBoss AS 7 server with the queue implemented and an MDB consuming messages</li>
  </ol>
  
  <p>I would like to send a message from server one to server two. I would like the message to be consumed on server two.</p>
  
  <p>I think JBoss AS 7 uses HornetQ. </p>
  
  <p>Any hints on how to send a message to a remote queue? I'm more interested on how to send messages because it is on the remote server, and I think the consuming part should be straight forward. </p>