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