gilvansfilho commented on code in PR #8549: URL: https://github.com/apache/camel/pull/8549#discussion_r997177289
########## components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaPollingConsumer.java: ########## @@ -44,7 +44,7 @@ public class JpaPollingConsumer extends PollingConsumerSupport { private static final Logger LOG = LoggerFactory.getLogger(JpaPollingConsumer.class); - private transient ExecutorService executorService; + private ExecutorService executorService; Review Comment: This will introduce another sonar pointing as [`volatile` should be used only with primitive fields](https://rules.sonarsource.com/java/RSPEC-3077). So classes which implements ExecutorService interface should be care about `volatile` / concurrencie / multi thread access -- 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