davsclaus commented on PR #26805:
URL: https://github.com/apache/camel/pull/26805#issuecomment-5799677102

   Both addressed in 7c0d60a4d155.
   
   **Missing `@Nullable`** — correct, `InflightExchange.getNodeSource` had it 
and `AwaitThread.getNodeSource` did not, although both document the null case. 
Added (`org.jspecify.annotations.Nullable` was already imported).
   
   **No test for the blocked-thread path** — fair, and it is covered now. 
Rather than a new route test, the two cases went into 
`DefaultAsyncProcessorAwaitManagerTest`, which already parks a thread behind a 
`CountDownLatch` and is the existing home for this interface: `getNodeSource()` 
is null when nothing was recorded, and is the recorded value when there is one. 
7 tests in that class pass.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to