code: public static void traceMessageIds(TraceComponent callersTrace, String action, SIMessageHandle[] messageHandles)
     {
       if ((light_tc.isDebugEnabled() || callersTrace.isDebugEnabled())
           && messageHandles != null) {
  
         // Build our trace string
         StringBuffer trcBuffer = new StringBuffer();
         trcBuffer.append(action + ": [");
         for (int i = 0; i < messageHandles.length; i++) {
           if (i != 0) trcBuffer.append(",");
           if (messageHandles[i] != null) {
             trcBuffer.append(messageHandles[i].getSystemMessageId());
           }
         }
         trcBuffer.append("]");
  
         // Trace using the correct trace group
         if (light_tc.isDebugEnabled()) {
           SibTr.debug(light_tc, trcBuffer.toString());
         }
         else {
           SibTr.debug(callersTrace, trcBuffer.toString());
         }
       }
     }
docs: Allow tracing of messages and transaction when deleting
  @param callersTrace The trace component of the caller
  @param action A string (no spaces) provided by the caller to prefix the keyword included in the trace line
  @param messageHandles The messages handles to trace