producer.send(message);
message = session.createMessage();
message.setBooleanProperty("testprop", false);
producer.send(message);
}
session.commit();
producer.close();
// should be 5 or 10 messages on queue now
// (5 for the java broker due to use of server side selectors, and 10 for the cpp broker due to client side selectors only)
AMQQueue queue = new AMQQueue("amq.topic", "clientid" + ":" + "sameMessageSelector");