You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/reference/asciidoc/amqp.adoc
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6783,7 +6783,7 @@ The default `MessageRecoverer` consumes the errant message and emits a `WARN` me
6783
6783
6784
6784
Starting with version 1.3, a new `RepublishMessageRecoverer` is provided, to allow publishing of failed messages after retries are exhausted.
6785
6785
6786
-
When a recoverer consumes the final exception, the message is ack'd and is not sent to the dead letter exchange, if any.
6786
+
When a recoverer consumes the final exception, the message is ack'd and is not sent to the dead letter exchange by the broker, if configured.
6787
6787
6788
6788
NOTE: When `RepublishMessageRecoverer` is used on the consumer side, the received message has `deliveryMode` in the `receivedDeliveryMode` message property.
6789
6789
In this case the `deliveryMode` is `null`.
@@ -6834,6 +6834,9 @@ Starting with versions 2.1.13, 2.2.3, the exception message is included in this
6834
6834
* if the stack trace is small, the message will be truncated (plus `...`) to fit in the available bytes (but the message within the stack trace itself is truncated to 97 bytes plus `...`).
6835
6835
6836
6836
Whenever a truncation of any kind occurs, the original exception will be logged to retain the complete information.
6837
+
The evaluation is performed after the headers are enhanced so information such as the exception type can be used in the expressions.
6838
+
6839
+
Starting with version 2.4.8, the error exchange and routing key can be provided as SpEL expressions, with the `Message` being the root object for the evaluation.
6837
6840
6838
6841
Starting with version 2.3.3, a new subclass `RepublishMessageRecovererWithConfirms` is provided; this supports both styles of publisher confirms and will wait for the confirmation before returning (or throw an exception if not confirmed or the message is returned).
0 commit comments