Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4641

Need a flag using which Master component status can be known standby or active.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • fuse-7.1
    • fuse-7.0
    • Camel, Hawtio
    • % %

    Description

      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.

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
            Tomas Turek Tomas Turek
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: