Thank you very much for your reply Itamar. I have switched to txredisapi
which is non-blocking library and my problem was solved.
2012/9/29 Itamar Turner-Trauring
> One problem in the code: it kinda seems you want to receive lines, but
> you're overriding dataReceived instead of lineReceived in
One problem in the code: it kinda seems you want to receive lines, but
you're overriding dataReceived instead of lineReceived in
RedisWorkProtocol. At the very minimum you shouldn't assume dataReceived is
called with the exact bytes that were written on the other side.
More importantly, I assume r