docs: public void messageEventOccurred(int event,
                                     SIMPMessage msg,
                                     TransactionCommon tran) throws SIResourceException 
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "messageEventOccurred", new Object[]{new Integer(event),msg,tran});
  
      if(event == MessageEvents.POST_COMMITTED_TRANSACTION)
      {
        eventPostCommit(msg);
      }
      else if(event == MessageEvents.POST_COMMIT_ADD)
      {
        eventPostAdd(msg, tran, false);
      }
      else if(event == MessageEvents.POST_ROLLBACK_ADD)
      {
        eventPostAdd(msg, tran, true);
      }
      else
      {
        SIErrorException e = new SIErrorException(
          nls.getFormattedMessage(
            "INTERNAL_MESSAGING_ERROR_CWSIP0001",
            new Object[] {
              "com.ibm.ws.sib.processor.impl.PtoPOutputHandler",
              "1:1275:1.241" },
            null));
  
        FFDCFilter.processException(
          e,
          "com.ibm.ws.sib.processor.impl.PtoPOutputHandler.messageEventOccurred",
          "1:1281:1.241",
          this);
  
        SibTr.exception(tc, e);
        SibTr.error(tc, "INTERNAL_MESSAGING_ERROR_CWSIP0001",
          new Object[] {
            "com.ibm.ws.sib.processor.impl.PtoPOutputHandler",
            "1:1288:1.241" });
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.exit(tc, "messageEventOccurred", e);
  
        throw e;
      }
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "messageEventOccurred");
    }