wired in docstore to message dispatcher

wired in docstore to message dispatcher