rhuan080 commented on PR #9332:
URL: https://github.com/apache/camel/pull/9332#issuecomment-1427062308

   Understood and I agree. However, I think we don't need 2 classes, but just 
rewrite the concatExpression to have 1 class immutable. What do you think about 
it?
   
   In the case of 2 classes, we will need to define when using immutable e when 
using mutable. For me, it is an unneeded complex.  
   > > The best approach for me is to use an immutable object, however, if it 
is not possible I think we should consider using a lock or synchronized block.
   > 
   > Actually, immutability is the idea behind what I proposed
   
   


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