Fixed NPE when content is null.
Added a message to print total message count.
Added exponential backoff for retrying btw failed connection attempts.
Implemented a failover strategy using failover exchange as a means of
obtaining a broker list. Fixed issues in exponential backoff mechanism
for reconnection. Added a listener interface for connection.