169170171172173174175
} public MessageReference reroute(final ServerMessage message, final Queue queue, final Transaction tx) throws Exception { message.incrementRefCount(); return new MessageReferenceImpl(); }
163164165166167168169
434445464748495051
MemorySizeTest.log.info("Message reference size is " + MemorySize.calculateSize(new MemorySize.ObjectFactory() { public Object createObject() { return new MessageReferenceImpl(); } })); }