Re: Time needed to start ActiveMQ completely

2015-02-04 Thread Kevin Burton
You’re about to write a bug :-P There should be no minimum and maximum time… in recovery, it could take 5-15 minutes. Just write a waitForPort() look and try to connect the port on startup and put some reasonable bound in there. Say 5 minutes. I usually don’t use connectTimeout though because t

Time needed to start ActiveMQ completely

2015-02-04 Thread Ramesh Rocky
Hi, I start the activemq and immediately start the flume using process flume throws an execption "javax.jms.JMSException: Connection reset" because activemq take some time to start completely. After some time start flume it does n't throws exception. Here I want to know the what is the minimum