Map<String, Object> map = (Map<String, Object>) theEvent;
EventBean mapEvent = eventAdapterService.adapterForTypedMap(map, mapEventType);
if ((ThreadingOption.isThreadingEnabled) && (threadingService.isInboundThreading()))
{
threadingService.submitInbound(new InboundUnitSendWrapped(mapEvent, runtimeEventSender));
}
else
{
runtimeEventSender.processWrappedEvent(mapEvent);
}