steve-cdl commented on issue #6947:
URL: https://github.com/apache/camel-quarkus/issues/6947#issuecomment-2624282159

   Just in case it helps. To expand on my point around streamCache
   
   If you set streamCache="true" , this will produce the error, even if your 
route does not amend body at all 
   
   Route - 
   
   ```
   <route streamCache="true">
           <from uri="direct:tokenize-stream-main-route"/>
   
   
           <split parallelProcessing="true">
               <tokenize token="Book" xml="true"/>
               <log loggingLevel="INFO" logName="xml" message="body is: 
${body}"/>
           </split>
   
       </route>
   
   ```
   
   input - 
   
   ```
   <Books>
       <Book code="AA"/>
   </Books>
   ```
   
   Result - 
   
   `body is:      `
   
   Expected result - 
   
   `body is: <Book code="AA"/>`
   
   Repost the same test again 
   
   Result - 
   
   `body is: <Book code="AA"/>`
   
   
   When using Spring Boot, we do not encounter this issue when streamCache is 
true.
   


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