add dispatch simplest message dispatch support

1. add dispatch simplest message dispatch support
2. add the demo to show message dispatch