2 my $ACTIVEMQ_VERSION = '5.2.0';
5 $stomp = Net::Stomp->new( { hostname => 'localhost', port => 61613 } );
9 unless (Alien::ActiveMQ->is_version_installed($ACTIVEMQ_VERSION)) {
10 plan 'skip_all' => 'No ActiveMQ server installed by Alien::ActiveMQ, try running the "install-activemq" command';
14 $mq = Alien::ActiveMQ->run_server($ACTIVEMQ_VERSION);
17 $stomp = Net::Stomp->new( { hostname => 'localhost', port => 61613 } );
20 plan 'skip_all' => 'No ActiveMQ server listening on 61613: ' . $@;
25 $SIG{CHLD} = 'IGNORE';
27 system("$^X -Ilib -Itestapp/lib testapp/script/stomptestapp_stomp.pl --oneshot");
30 print STDERR "server started, waiting for spinup...";