Quantcast
Channel: Spring Community Forums - Social
Viewing all articles
Browse latest Browse all 145

Twitter Stream -- Is it Possible to Take an Action if the Stream Fails?

$
0
0
I'm working with the Twitter Stream API and it is working fine with my EventListener for normal processing (e.g., as I receive a tweet).

I have a business reason why I'd like to be able to keep a record of when the stream is up (receiving tweets) and when it is down (stream is turned off or if the stream becomes unusable for some reason).

Is there any way for me to know whether the stream that starts up normally becomes inoperable? Likewise, is there any event that I can subscribe to for when the stream is destroyed?

Cheers,
Alex

Viewing all articles
Browse latest Browse all 145

Trending Articles