this.destinationId = packet.destinationId;
this.endpoint = null; // packet.endpoint;
this.error = null;
this.exchangeId = null; // ???;
this.interfaceName = packet.interfaceName;
CopyTransformer ct = new CopyTransformer();
if (packet.in != null) {
in = new NormalizedMessageImpl();
ct.transform(null, packet.in, in);
}
if (packet.out != null) {
out = new NormalizedMessageImpl();
ct.transform(null, packet.out, out);
}
if (packet.fault != null) {
fault = new FaultImpl();
ct.transform(null, packet.fault, fault);
}
this.operationName = packet.operationName;
this.pattern = packet.pattern;
if (packet.properties != null && packet.properties.size() > 0) {
getProperties().putAll(packet.properties);