JiriOndrusek opened a new pull request, #29224:
URL: https://github.com/apache/camel/pull/29224

   Jira: https://issues.apache.org/jira/browse/CAMEL-26542
   
   - `ElasticsearchActionRequestConverter.toSearchRequestBuilder` built a 
`SearchRequest.Builder` body to read its index and then returned the same 
builder; a later `build()` threw `IllegalStateException: Object builders can 
only be used once`.
   - Fix: build once and return `rebuild()` (same pattern as the other 
converters); the header index is still added only when the request has none.
   - New unit test covers it (fails before, passes after).
   
   _Generated with [Claude Code](https://claude.com/claude-code) on behalf of 
@JiriOndrusek_
   


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