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" <[email protected]> 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
