transferItem.getLocalQueue().getTranscoder() instanceof TranscoderWrapped &&
transferItem.getItem() instanceof MQMessage) {
logger.trace("RemoteBroker[{}] is version 1", brokerInfo);
logger.trace("Queue[{}] uses TranscoderWrapped and item is MQMessage", transferItem.getLocalQueue().getName());
TranscoderWrapped tw = (TranscoderWrapped)transferItem.getLocalQueue().getTranscoder();
MQMessage mqItem = (MQMessage)transferItem.getItem();
type = mqItem.getBody().getClass().getCanonicalName();
data = tw.getBaseTranscoder().encode(mqItem.getBody());
} else {
type = transferItem.getItemType().getCanonicalName();
data = transferItem.getLocalQueue().getTranscoder().encode(transferItem.getItem());
}