Topic: cost of calling setConnections every time
Hi, I'm trialing the software. In order to be able to start SmartInspect Console against an already running application, I have to make my application call .setConnections before *every* single message sent.
try {
SiAuto.si.setConnections("tcp()");
} catch (InvalidConnectionsException e) {
System.out.println(e.toString());
}
SiAuto.main.logMessage(event);
How expensive is calling setConnections() like this? Is there a more efficient way to do this?
