JiriOndrusek commented on PR #19538:
URL: https://github.com/apache/camel/pull/19538#issuecomment-3397478566

   > okay a thought could be to add a constant to Exchange for 
CamelJpaEntityFactory so it has an official constant in core we can use. That 
is an okay compromise
   
   That sound nice to me,  I agree that using a String in the core is not a 
propper way of solving this issue.
   (I was originally thought of
   - threadlocal cache -> configured in camel-jpa via a parameter
   - or by parameter to do not use an existing entityManager -> configured via 
a parameter)
   but then current solution seems like the nicest of all. 
   I'll fix the PR and introduce a new constant.
   Thanks for the idea!


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