public String getInputChannelName() {
   if (isTap()) {
     return String.format(
         "%s.%s.%s", BusUtils.constructTapPrefix(tap.getGroup()), tap.getName(), tap.getIndex());
   }
   return (inputChannelName != null)
       ? inputChannelName
       : BusUtils.constructPipeName(group, index > 0 ? index - 1 : index);
 }
 public String getTapChannelName(String prefix) {
   Assert.isTrue(!type.equals("job"), "Job module type not supported.");
   // for Stream return channel name with indexed elements
   return String.format("%s.%s.%s", BusUtils.constructTapPrefix(prefix), name, index);
 }
 public String getOutputChannelName() {
   return (outputChannelName != null)
       ? outputChannelName
       : BusUtils.constructPipeName(group, index);
 }