Bug 957126/HORNETQ-1186 : Fix some example related issues
Merge pull request #1074 from gaohoward/2.3.x-examples

Bug 957126/HORNETQ-1186 : Fix some example related issues