Twitter Spring Integration - query as payload -


can use twitter spring integration gateway (or splitter) instead of polling consumer? idea use payload query can multiple twitter custom searches. payload come chain.

one way use http outbound gateway, not go this, because have implement entire twitter api (authentication - twitter template, tweet duplication - metadata store).

the proper spring integration endpoint <si-twitter:outbound-gateway/> request/response scenario; don't have that; feel free open new feature jira issue that.

however, under covers, use twittertemplate; can invoke directly; like...

twittertemplate tt = new twittertemplate(consumerkey, consumersecret, accesstoken,  accesstokensecret); searchparameters searchparameters = new searchparameters(query).count(20).sinceid(sinceid); searchresults results = tt.searchoperations().search(searchparameters); 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -