this.senderThreadPool = senderThreadPool;
}
private void initJMX(Connector connector, String service) {
try {
JmxExporter jmxExporter = new JmxExporter();
jmxExporter.setRegistrationBehavior(JmxExporter.REGISTRATION_IGNORE_EXISTING);
jmxExporter.export(connector);
} catch (JMException e) {
log.error("Error while initializing JMX support for the FIX sessions in " +
"service: " + service, e);
}
}