<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes, thank you - that’s an option.<div class=""><br class=""></div><div class="">— thomas</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 27 Nov 2015, at 12:27, Tomaž Cerar <<a href="mailto:tomaz.cerar@gmail.com" class="">tomaz.cerar@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Nov 27, 2015 at 8:43 AM, Thomas Diesler <span dir="ltr" class=""><<a href="mailto:tdiesler@redhat.com" target="_blank" class="">tdiesler@redhat.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px" class=""><div class=""><font size="1" face="Courier New" class=""><br class=""></font></div></blockquote><div class=""><div class="">I now wonder if it is possible to implement a camel load balancer variant that is able to discover the initial topology of wildfly http endpoints and later react on changes in that topology. Does that make sense?</div></div></blockquote></div><br class=""><br class=""></div><div class="gmail_extra">I am thinking that you could register undertow subsystem event listeners in camel subsystem (or any other that is for that purpase)<br class=""></div><div class="gmail_extra">So undertow subsystem would send you events on when deployments are started/stopped, hosts are started/stopped.<br class=""></div><div class="gmail_extra">see <a href="https://github.com/wildfly/wildfly/blob/master/undertow/src/main/java/org/wildfly/extension/undertow/UndertowEventListener.java" class="">https://github.com/wildfly/wildfly/blob/master/undertow/src/main/java/org/wildfly/extension/undertow/UndertowEventListener.java</a> for what is possible<br class=""><br class=""></div><div class="gmail_extra">This is how we integrate with mod_cluster subsystem that than broadcasts the config to the apache mod_cluster module.<br class=""><br class=""></div><div class="gmail_extra">You could get this events and than push config to zookeeper based on that.<br class=""><br class=""></div><div class="gmail_extra">would that work for you?<br class=""><br class="">--<br class="">tomaz<br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>