zhfeng commented on code in PR #8549:
URL: https://github.com/apache/camel/pull/8549#discussion_r997643562
##########
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:
I think we could ignore this issue as `volatile` here is used to avoiding
creating multi `ExecutorService` in `receive(long timeout)`.
--
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]