log.info("TEST 1: Testing filtered PtP message");
String content = "12345678901"; // content is too long, our plugin denies this message
try {
PublishQos pq = new PublishQos(glob);
pq.addDestination(new Destination(new SessionName(glob, name)));
PublishReturnQos rq = con.publish(new MsgUnit("<key oid='MSG'/>", content.getBytes(), pq.toXml()));
log.info("TEST 1: SUCCESS returned state=" + rq.getState());
assertTrue("Return OK", !Constants.STATE_OK.equals(rq.getState()));
} catch(XmlBlasterException e) {
log.warning("XmlBlasterException: " + e.getMessage());
assertTrue("publish - XmlBlasterException: " + e.getMessage(), false);