use of org.springframework.integration.twitter.outbound.TwitterSearchOutboundGateway in project spring-integration-samples by spring-projects.
the class Application method twitterGate.
@Bean
@ServiceActivator(inputChannel = "searchChannel")
public TwitterSearchOutboundGateway twitterGate() {
TwitterSearchOutboundGateway gateway = new TwitterSearchOutboundGateway(twitter());
gateway.setOutputChannel(toJsonChannel());
return gateway;
}
Aggregations