//reject
ssn.messageTransfer("amq.direct", MessageAcceptMode.NONE, MessageAcquireMode.PRE_ACQUIRED,
new Header(new DeliveryProperties().setRoutingKey("stocks")),
ByteBuffer.wrap("this should be rejected".getBytes()));
ssn.sync();
// topic subs
ssn.messageSubscribe("topic1", "myDest2", (short)0, (short)0,createAdapter(), null);
ssn.messageSubscribe("topic2", "myDest3", (short)0, (short)0,createAdapter(), null);
ssn.messageSubscribe("topic3", "myDest4", (short)0, (short)0,createAdapter(), null);