use Alien::ActiveMQ;
{
my $mq = Alien::ActiveMQ->run_server
# Apache MQ is now running on the default port, you
# can now test your Net::Stomp based code
}
# And Apache MQ shuts down once $mq goes out of scope here