docs: void sendCODMessage(SIMPMessage msg, TransactionCommon tran) throws SIResourceException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "sendCODMessage", new Object[] { msg, tran });
  
          // If COD Report messages are required, this is when we need to create and
          // send them.
  
          if (msg.getReportCOD() != null)
          {
              // Create the ReportHandler object if not already created
              if (_reportHandler == null)
                  _reportHandler = new ReportHandler(messageProcessor);
  
              try
              {
                  _reportHandler.handleMessage(msg, tran, SIApiConstants.REPORT_COD);
              } catch (SIException e)
              {
                  FFDCFilter.processException(
                                              e,
                                              "com.ibm.ws.sib.processor.impl.BaseDestinationHandler.sendCODMessage",
                                              "1:3909:1.700.3.45",
                                              this);
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                      SibTr.exit(tc, "sendCODMessage", "SIResourceException");
                  throw new SIResourceException(
                                  nls.getFormattedMessage(
                                                          "REPORT_MESSAGE_ERROR_CWSIP0423",
                                                          new Object[] { messageProcessor.getMessagingEngineName(), e },
                                                          null),
                                  e);
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "sendCODMessage");
      }