Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
SravanThotakura05 committed Jul 17, 2024
1 parent 320798c commit 25f8d68
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,8 @@ public SolaceDirectMessageOutgoingChannel(Vertx vertx, SolaceConnectorOutgoingCo
}

this.publisher.setPublisherReadinessListener(() -> isPublisherReady = true);

this.publisher.setPublishFailureListener(failedPublishEvent -> {
OutboundMessage outboundMessage = failedPublishEvent.getMessage();
SolaceLogging.log.errorf("Failed to publish direct message with application-message-id %s and correlation-id %s",
outboundMessage.getApplicationMessageId(), outboundMessage.getCorrelationId());
SolaceLogging.log.error("Failed to publish direct message");
reportFailure(failedPublishEvent.getException());
});
}
Expand Down Expand Up @@ -267,5 +264,4 @@ public void isAlive(HealthReport.HealthReportBuilder builder) {
public void ready() {
isPublisherReady = true;
}

}

0 comments on commit 25f8d68

Please sign in to comment.