Setting up SSL for JMS, if that is what you are asking, is easy. Just configure certificates for your broker and client and then point them to the respecive trust/keystores.
- Using keytool, create a certificate for the broker.
- Export the broker's certificate so it can be shared with clients.
- Create a certificate/keystore for the client.
- Create a truststore for the client, and import the broker's certificate. This establishes that the client "trusts" the broker.