}
if(response!=null){
if(LOGGER.isDebugEnabled()) {
LOGGER.debug("Submit response " +
response.debugString());
}
if (response.getCommandStatus() != Data.ESME_ROK) {
final MessageRecipient failedRecipient =
message.getMessageRecipient(i);
failedRecipient.setFailureReason(