msg.setContentType("application/octet-stream");
msg.setBody(new Data(new Binary("hello world".getBytes())));
mng.put(msg);
mng.send();
mng.subscribe(ADDRESS);
mng.recv();
Message msg2 = mng.get();
assertEquals(msg.getSubject(), msg2.getSubject());
assertEquals(msg.getContentType(), msg2.getContentType());
assertEquals(msg.getBody().toString(), msg2.getBody().toString());