If you ever wanted to use Stomp messaging protocol with secured ActiveMQ broker, you can now do it by downloading a 5.1 snapshot distribution. For more Stomp messaging security over unsecured networks you can additionally use Stomp over SSL, which makes Stomp + ActiveMQ perfectly secure messaging environment over unsecured networks. If PHP is your environment of choice, the PHP Stomp client implements these security mechanisms completely (including SSL connectivity).
Happy Holidays.