public static final String ADDRESS = "amqp://localhost/amqp-1.0-test";
// This uses deprecated classes, yes. I took them from the examples provided...
public void testRoundTrip() throws Exception {
Messenger mng = new MessengerImpl();
mng.start();
Message msg = new MessageImpl();
msg.setAddress(ADDRESS);
msg.setSubject("hello");
msg.setContentType("application/octet-stream");
msg.setBody(new Data(new Binary("hello world".getBytes())));