java sample program for SSL enabled JMS Broker access

I was looking for a sample Java application which can add or reomve messages from an SSL enabled JMS Broker. If anyone has an example I can refer to that would be extremely useful.

There are sample code in webMethods Broker Client Java API Programmer’s Guide,
CHAPTER 15 Wor k i ng w i th S e cur e Sock e t s
Enabling and Using Security Features