InputStream inputStream = ClassUtil.getResourceAsStream("MessagePersisterTest.xml", this.getClass());
ConfigTree config = ConfigTree.fromInputStream(inputStream);
MessagePersister persister = new MessagePersister(config);
persister.initialise();
persister.process(msg);
//now we can check the messageStore to see if our message made it in there.
System.out.println("Reading the messages in the messageStore");
MessageStore store = MessageStoreFactory.getInstance().getMessageStore();