Uploading the BTX

Upload the business transaction to the server.

Upload the business transaction by calling uploadTrace(byte[] btx) and passing the BTX byte array. The method returns true if the upload succeeds, otherwise it throws an E2ETraceUploadException.

Call this blocking method in a separate thread other than the main application thread.

//ensure this blocking call gets executed in a separate thread
try
{
boolean status = traceService.upload(btx);
}
catch(E2EtraceUploadException eue){ }