-
Feature
-
Resolution: Done
-
Minor
-
fuse-7.0
-
0
-
0%
-
-
Todo
A) A functionality can be added to Master Component so that active/standby status of route can be known.
Consumer consumer = route.getConsumer(); if (consumer instanceof MasterConsumer) { MasterConsumer master = (MasterConsumer)consumer; if (master.isMaster()) { // do stuff } }
MasterComponent might needs this method for that within MasterConsumer class :
public boolean isMaster() { return singleton.isMaster(); }
B) Master component state should also be shown in hawtio. Within Camel Tab where it display route-list, there we can display a flag/icon/value to specify that if route is Master or standby. This would help user to easily identify route status.