Commit ec7e609
CAMEL-24069: camel-spring-rabbitmq - Use consumer exception handler for async failures
When asyncConsumer=true and an exchange fails after the listener method
returns, the failure was silently dropped because endpoint.getExceptionHandler()
is null by default. Use consumer.getExceptionHandler() instead, which always
has a default LoggingExceptionHandler.
Closes #24721
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2831196 commit ec7e609
1 file changed
Lines changed: 2 additions & 4 deletions
File tree
- components/camel-spring-parent/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 254 | + | |
| 255 | + | |
258 | 256 | | |
259 | 257 | | |
260 | 258 | | |
| |||
0 commit comments