code: public static String getChannelName(String eventName) {
          return eventName == null ? null : EVENT_PREFIX + eventName.split("\\.", 2)[0];
      }
docs: Returns the messaging channel name from the event name.
  
  @param eventName The event name.
  @return The channel name.