zhfeng commented on PR #17792:
URL: https://github.com/apache/camel/pull/17792#issuecomment-2814857956

   Hmm, are you talking about to add the following in JpaCompoenet and remove 
`initEntityManagerFactory()` ?
   
   ```java
   @Metadata(autowired = true)
   private EntityManagerFactory entityManagerFactory;
   ```


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