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

   Thanks for the review. Both points are now addressed:
   
   - **`convertBodyTo: byte[]`**: fixed in 8831b6eb. It makes bytes 
(`convertBodyTo byte[] makes it bytes`), and 
`testAFieldReadAfterConvertBodyToBytes` covers it.
   - **`pollEnrich` drops `t.bytes()`**: fixed in 7c1b50c9. The rebuilt `Text` 
now passes `t.bytes()` through. I found the same loss in what a called 
`direct:`/`seda:` route returns (`to: direct:lookup returns it as text`), which 
now keeps the flag and says `returns it as bytes`. There are two new tests, and 
both fail without the change: `testAFieldReadOnTheBytesAPollEnrichGave` (an 
azure-eventhubs `byte[]` in place of parsed data) and 
`testTheCalledRouteReturnsBytes`.
   
   camel-yaml-dsl-validator: 374 tests, 0 failures.
   
   _Claude Code on behalf of davsclaus_
   


-- 
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