for (int i = 10; i < 20; i++)
{
producer1.send(session0.createTextMessage("message " + i));
}
session1.commit();
log.info("Sent messages 10 - 19 on node 1");
//At this point we should have messages 5 - 9 sitting in queue on node 0
//and messages 10 - 19 sitting in queue on node 1