xpath support fro JMS messages

I created new branch with cherry-picked commits.