ObjectInputStream objectInputStream =
new ObjectInputStream(new ByteArrayInputStream(serializedMessageContext));
MessageContext reconstitutedMessageContext =
(MessageContext)objectInputStream.readObject();
reconstitutedMessageContext.activate(configurationContext);
axisEngine.resume(reconstitutedMessageContext);
}
catch (Exception e) {
e.printStackTrace();
fail("An error occurred in the worker thread");
}