orpiske commented on PR #9432:
URL: https://github.com/apache/camel/pull/9432#issuecomment-1447675277

   > Hmm now we create a new object per message (the trait) only for fringe 
features like JMS external redelivery and dataType (not really much in use).
   
   Yeah. There's that, indeed - though the memory overhead is probably small. 
One alternative I considered is to have the traits as a bit mask. It would make 
the code a little bit more complex, but may consume less memory overall. 
   
   What do you think?
   
   > 
   > Also mind that PooledExchange has a reset that, see reset method on 
Message. You likely need to reset the trait or something.
   
   Thanks, noted. I'll take a look. 


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to