if(useEJB)
{
String ejbName = (System.getProperty("qpid.ejb.name") == null) ? DEFAULT_EJB_JNDI : System.getProperty("qpid.ejb.name");
QpidTest ejb = (QpidTest)QpidTestUtil.getFromJNDI(context, ejbName);
_log.debug("Found SLSB " + ejbName + "in JNDI");
ejb.testQpidAdapter(content, total, useTopic, false, goodbye);
}
else
{
ConnectionFactory connectionFactory = null;