simple encrypt the body of the message using any encryption alg you want
Thank you very much Andy. I will try that.
Just curious but are there any other methods to accomplish the same?
There is nothing built in to HornetQ to achieve this functionality.
If you want to do this yourself it wouldn't be terribly difficult. As Andy said, you can encrypt the contents of the message yourself in such a way that only the intended recipient can unencrypt them. Public key cryptography lends itself to this application.
Thank you for taking the time to reply to my question Justin and Andy