add for call back hander if return true will terminationed the message.

Change-Id: I870dcc24a25f124c3f67a5111368b82205f63914