code: private void reSubscribeByName(EventChannelStruct eventChannelStruct, String name) {
  
          //  Get the map and the callback structure for channel
          Hashtable<String, EventCallBackStruct>
                  callBackMap = EventConsumer.getEventCallbackMap();
          EventCallBackStruct callbackStruct = null;
          Enumeration channelNames = callBackMap.keys();
          while (channelNames.hasMoreElements()) {
              String  key = (String) channelNames.nextElement();
              EventCallBackStruct eventStruct = callBackMap.get(key);
              if (eventStruct.channel_name.equals(name)) {
                  callbackStruct = eventStruct;
              }
          }
  
          //  Get the callback structure
          if (callbackStruct!=null) {
              callbackStruct.consumer.reSubscribeByName(eventChannelStruct, name);
          }
      }
docs: ===============================================================