Updated the examples with correct usage of  JMS2 API