public static void main(final String arg[])
{
try
{
FileConfiguration fileConf = new FileConfiguration();
// fileConf.setConfigurationUrl(arg[0]);
fileConf.start();
JournalImpl journal = new JournalImpl(fileConf.getJournalFileSize(),
fileConf.getJournalMinFiles(),
0,
0,
new NIOSequentialFileFactory(fileConf.getJournalDirectory()),
"hornetq-data",
"hq",
fileConf.getJournalMaxIO_NIO());
ArrayList<RecordInfo> records = new ArrayList<RecordInfo>();
ArrayList<PreparedTransactionInfo> prepared = new ArrayList<PreparedTransactionInfo>();
journal.start();