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

    • Type: Enhancement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: fuse-7.0
    • Fix Version/s: fuse-7.1
    • Component/s: Camel, Hawtio
    • Labels:
    • Environment:

      ALL

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                cpandey Chandra Shekhar Pandey
                Tester:
                Tomáš Turek
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: