Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5780

JMX statistics problem when intercept() followed with process()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 2.10.2
    • 2.11.0
    • camel-core, jmx
    • None
    • Unknown

    Description

      Here is the test class:

       
      intercept().id("Intercept_1").process(new Processor() {
      		
      		public void process(Exchange exchange) throws Exception {
      			System.out.println("Intercept occurs");
      		}
      	}).id("Intercept_Processor");
      from("timer:foo?period=1000&repeatCount=2").id("from_1").process(new Processor() {
      		
      		public void process(Exchange exchange) throws Exception {
      			System.out.println("normal route processor");
      		}
      	}).id("route_Processor1");
      from("timer:foo?period=1000&repeatCount=2").id("from_2").process(new Processor() {
      		
      		public void process(Exchange exchange) throws Exception {
      			System.out.println("normal route processor");
      		}
      	}).id("route_Processor2");
      

      The MBean "org.apache.camel/processors/***/" has no processor "Intercept_Processor", only has other two.

      Attachments

        1. ProcessorAfterIntercept.jpg
          51 kB
          Meifang Shen

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              mfshen Meifang Shen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: