Class JpaPollingChannelAdapter

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, MessageSource<Object>, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement

public class JpaPollingChannelAdapter extends AbstractMessageSource<Object>
Polling message source that produces messages from the result of the provided:
  • entityClass
  • JpQl Select Query
  • Sql Native Query
  • JpQl Named Query
  • Sql Native Named Query
. After the objects have been polled, it also possibly to either: executes an update after the select possibly to updated the state of selected records
  • executes an update (per retrieved object or for the entire payload)
  • delete the retrieved object
Since:
2.2
Author:
Amol Nayak, Gunnar Hillert, Artem Bilan, Gary Russell