MessageTransformer messageTransformer;
switch (sobaMessageType) {
case CONNECTION:
messageTransformer = new ConnectionMessageTransformer(messageProperties, messageDetails);
break;
case INVENTORY_ITEM:
messageTransformer = new InventoryItemMessageTransformer(messageProperties, messageDetails);
break;
case AGENT: