UimaSerializer uimaSerializer = SerializerCache.lookupSerializerByThreadId();
if (serializationStrategy.equals("xmi")) {
// Fetch serialized CAS from the message
String xmi = aMessageContext.getStringMessage();
deserSharedData = new XmiSerializationSharedData();
uimaSerializer.deserializeCasFromXmi(xmi, cas, deserSharedData, true, -1);
} else if (serializationStrategy.equals("binary")) {
// *************************************************************************
// Register the CAS with a local cache
// *************************************************************************
// CacheEntry entry = getController().getInProcessCache().register(cas, aMessageContext,