You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Ramesh Rocky <rm...@outlook.com> on 2015/02/23 06:18:37 UTC
Time needed for starting ActiveMQ
Hi,
I'm using ActiveMQ verision5.10 in my application use activemq and flume together. I want to start activemq first and then start the flume. When starting activemq its take some time so before the time I start the flume time out exception is thrown in flume
So that I want to check the activemq is running or not. There is any way to find this???
Thanks & RegardsRamesh
Re: Time needed for starting ActiveMQ
Posted by Tim Bain <tb...@alumni.duke.edu>.
Can you use the command-line "activemq status" command to determine if the
broker has finished starting? I've never tried running that while the
broker was starting so I don't know if you'll get useful output from that
or not.
If not, you can always programmatically tail -f the broker log and grep for
the line stating that the broker has started; when it appears, you know the
broker has started.
On Feb 22, 2015 10:19 PM, "Ramesh Rocky" <rm...@outlook.com> wrote:
> Hi,
> I'm using ActiveMQ verision5.10 in my application use activemq and flume
> together. I want to start activemq first and then start the flume. When
> starting activemq its take some time so before the time I start the flume
> time out exception is thrown in flume
> So that I want to check the activemq is running or not. There is any way
> to find this???
>
> Thanks & RegardsRamesh