@EnableBinding(value=org.springframework.cloud.stream.messaging.Source.class)
@EnableConfigurationProperties(value={MongodbSourceProperties.class,TriggerPropertiesMaxMessagesDefaultUnlimited.class})
@Import(value=TriggerConfiguration.class)
public class MongodbSourceConfiguration
extends Object
MongoDbMessageSource which polls collection
with the query after startup according to the polling properties.| Constructor and Description |
|---|
MongodbSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.integration.mongodb.inbound.MongoDbMessageSource |
mongoSource()
The inheritors can consider to override this method for their purpose or just adjust options
for the returned instance
|
org.springframework.integration.dsl.IntegrationFlow |
startFlow() |
@Bean
public org.springframework.integration.dsl.IntegrationFlow startFlow()
throws Exception
Exceptionprotected org.springframework.integration.mongodb.inbound.MongoDbMessageSource mongoSource()
MongoDbMessageSource instanceCopyright © 2019 Pivotal Software, Inc.. All rights reserved.