Hello,

 I have an OSGI bundle which makes use of the ActiveMQ OSGI feature. The
problem is that my bundle starts too early and there is no connection to the
broker available.

I don't want to mess around with start levels in karaf as it's not
guaranteed to work. The only other option I can think of is to define a loop
that repeatedly tries to connect, but I was hoping there might be a cleaner
option. It would be nice if I could get a handle to the broker and block my
own bundle until it's up a new running (without looping and catching
connection exceptions). Any suggestions?



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to