code: protected void afterDelivery(final SIBusMessage message, MessageEndpoint endpoint, 
              final boolean success) throws ResourceException {
  
          final String methodName = "afterDelivery";
          if (TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName, new Object[] { message,
                      Boolean.valueOf(success) });
          }
  
          super.afterDelivery(message, endpoint, success);
  
          if (success && processMessage(message)) {
  
              deleteMessage(message, null);
  
          }
  
          if (TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName);
          }
  
      }
docs: Invoked after delivery of a message. If the message delivery was
  successful, deletes the message.
  
  @param message
  the message that was delivered
  @param success
  flag indicating whether delivery was successful
  @throws ResourceException
  if after delivery failed