Class JdbcSupplierConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.jdbc.JdbcSupplierConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(JdbcSupplierProperties.class)
@Import(SplitterFunctionConfiguration.class)
public class JdbcSupplierConfiguration
extends Object
- Author:
- Soby Chacko, Artem Bilan
-
Constructor Summary
ConstructorDescriptionJdbcSupplierConfiguration
(JdbcSupplierProperties properties, DataSource dataSource) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.core.MessageSource<Object>
jdbcMessageSource
(org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.jdbc.JdbcPollingChannelAdapter> jdbcPollingChannelAdapterCustomizer) jdbcSupplier
(org.springframework.integration.core.MessageSource<Object> jdbcMessageSource) splittedSupplier
(org.springframework.integration.core.MessageSource<Object> jdbcMessageSource, Function<Message<?>, List<Message<?>>> splitterFunction)
-
Constructor Details
-
JdbcSupplierConfiguration
-
-
Method Details
-
jdbcMessageSource
-
splittedSupplier
@Bean(name="jdbcSupplier") @PollableBean @ConditionalOnProperty(prefix="jdbc.supplier", name="split", matchIfMissing=true) public Supplier<reactor.core.publisher.Flux<Message<?>>> splittedSupplier(org.springframework.integration.core.MessageSource<Object> jdbcMessageSource, Function<Message<?>, List<Message<?>>> splitterFunction) -
jdbcSupplier
-