@Configuration @EnableConfigurationProperties(value=TwitterUpdateConsumerProperties.class) @Import(value=TwitterConnectionConfiguration.class) public class TwitterUpdateConsumerConfiguration extends Object
Constructor and Description |
---|
TwitterUpdateConsumerConfiguration() |
Modifier and Type | Method and Description |
---|---|
Function<org.springframework.messaging.Message<?>,twitter4j.StatusUpdate> |
messageToStatusUpdateFunction(TwitterUpdateConsumerProperties updateProperties) |
Consumer<org.springframework.messaging.Message<?>> |
twitterStatusUpdateConsumer(Function<org.springframework.messaging.Message<?>,twitter4j.StatusUpdate> statusUpdateQuery,
Consumer<twitter4j.StatusUpdate> updateStatus) |
Consumer<twitter4j.StatusUpdate> |
updateStatus(twitter4j.Twitter twitter) |
@Bean public Consumer<twitter4j.StatusUpdate> updateStatus(twitter4j.Twitter twitter)
@Bean public Function<org.springframework.messaging.Message<?>,twitter4j.StatusUpdate> messageToStatusUpdateFunction(TwitterUpdateConsumerProperties updateProperties)
Copyright © 2022. All rights reserved.