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