managementContext.start();
// Get these reference variables once the Mule server has started.
jmsConnector = ((OracleJmsConnector) managementContext.getRegistry().lookupConnector("oracleJmsConnector"));
if (jmsConnector == null) {
throw new ConfigurationException(Message.createStaticMessage("Unable to lookup the Oracle JMS Connector."));
}
jmsSession = (AQjmsSession) jmsConnector.getSession(false, false);
// Only initialize the client once (after server startup).
muleClient = new MuleClient();