[英]Apache Camel - onWhen() predicate cannot retrieve EXCEPTION_CAUGHT, but in the processor it is present
我無法在doCatch()之后訪問onWhen(predicate)中捕獲的異常,但我可以在doCatch()的處理器中看到它。 當我想在onWhen()中定義更細粒度的謂詞時,這很不方便。doCatch(ProcessingException.class).onWhen(predicate) // ...