Message decodeMessage(String name) throws IOException
{
byte[] data = getBytes(name);
MessageFactory mf = new ProtonFactoryLoader<MessageFactory>(MessageFactory.class).loadFactory();
Message m = mf.createMessage();
m.decode(data, 0, data.length);
return m;
}
TestDecoder createDecoder(byte[] data)