Skip to content

Commit

Permalink
CAMEL-20297 camel-sjms: do not swallow interrupted exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
orpiske committed Jan 10, 2024
1 parent 489cae4 commit d49d680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public Destination getReplyTo() {
log.trace("Waiting for replyTo to be set done");
}
} catch (InterruptedException e) {
// ignore
Thread.currentThread().interrupt();
}
return replyTo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public Destination getReplyTo() {
destResolver.destinationReady();
} catch (InterruptedException e) {
log.warn("Interrupted while waiting for JMSReplyTo destination refresh", e);
Thread.currentThread().interrupt();
}
return super.getReplyTo();
}
Expand Down

0 comments on commit d49d680

Please sign in to comment.