code: protected final void traceChains(Object logTool, List<?> lchain, String message, String prefix) {
          if (lchain == null || lchain.size() <= 0) {
              debugTrace(logTool, prefix + " - Specified chain list is empty");
              return;
          }
  
          ChainData chain;
          ChannelData channel;
          List<?> lchannel;
          Iterator<?> ichannel, ichain;
  
          // New StringBuilder for trace of chains in list
          StringBuilder traceMessage = new StringBuilder(300);
  
          // Prepend message passed as argument to our output
          traceMessage.append(message);
          traceMessage.append(EOLN);
  
          // Iterate chain
          for (ichain = lchain.iterator(); ichain.hasNext();) {
              chain = (ChainData) ichain.next();
  
              traceMessage.append(prefix + "-chain ");
              traceMessage.append(chain.getName());
              traceMessage.append(((chain.getType().equals(FlowType.OUTBOUND)) ? " - OUTBOUND" : " - INBOUND"));
              traceMessage.append(EOLN); // end line within
              // buffer
  
              // Display channel members
              lchannel = Arrays.asList(chain.getChannelList());
              for (ichannel = lchannel.iterator(); ichannel.hasNext();) {
                  channel = (ChannelData) ichannel.next();
                  traceMessage.append(prefix + "-chain ");
                  traceMessage.append(chain.getName());
                  traceMessage.append(":       +  ");
                  traceMessage.append(channel.getName());
                  traceMessage.append(" - ");
                  traceMessage.append(channel.getFactoryType());
                  traceMessage.append(EOLN);
              }
          }
  
          debugTrace(logTool, traceMessage.toString());
      }
docs: Display configured channel chains.
  
  @param logTool
  Caller's LogTool (should be Logger OR TraceComponent)
  @param lchain
  List of chains to trace
  @param message
  Description to accompany trace, e.g. "CFW Channel
  Configuration"
  @param prefix
  Component-type prefix used to associate traces together, e.g.
  "XMEM", "ZIOP", "TCP", "SOAP"