Skip to content

Commit

Permalink
Added some trace logs
Browse files Browse the repository at this point in the history
  • Loading branch information
amitjoy committed Nov 5, 2024
1 parent 515fa27 commit 895d29f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ private void publish(final Message message, MessageContext context, String chann
logger.error("Error occurred while publishing message", throwable);
} else if (isPublishSuccessful(result)) {
resultFuture.complete(null);
logger.trace("Successful Publish Request: {} ", result);
logger.trace("New publish request for '{}' has been processed successfully", ch);
} else {
final Throwable t = result.getError().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ private SubscriptionAck subscribe(
final MessageContextBuilderProvider mcb = mcbFactory.getService();
try {
final Message message = toMessage(p, ctx, mcb);
logger.trace("Successful Subscription Response: {} ", message);
acknowledgeMessage(
message,
ctx,
Expand Down

0 comments on commit 895d29f

Please sign in to comment.