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 ) ; } }
Invoked after delivery of a message . If the message delivery was successful deletes the message .