Magic number MAX_MESSAGE_LENGTH
Implemented DisposableBean to shutdown better. Fixes #19