You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by beepboopbebop <mc...@gmail.com> on 2019/05/17 15:44:51 UTC

Re: Problems in compiling and running ActiveMQ-CPP on AIX

qtaiwee wrote
> The example program  at src/examples/example(main.cpp) does not work and
> hangs at around the line :
> 
>     consumer.waitUntilReady();

I suspect the reason it hangs is because you don't have a broker running.
From the Apache installation notes: "The library also contains a set of
tests that are run against a real AMQ broker. These allow you to validate
this distribution of ActiveMQ CPP against your broker. Running these without
a broker will result in failed tests."

Probably the easiest way of getting a broker running is to download it from
the  Apache website
<http://activemq.apache.org/components/classic/download/>  . Installing is
simple, just unpack the archive somewhere (tar -zxf), though since it is a
Java application, it requires a Java environment to be installed on your
system. This is commonly the case for nearly all Linux environments, but if
not, you may need to install Java from your OS package repositories.

Once installed and on your path, you can type

$> activemq console &

which will start an activemq broker as a background process.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html