You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "XiaopengLi (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 10:18:48 UTC

[jira] [Created] (CAMEL-5027) JMX statistics problem with some components

JMX statistics problem with some components
-------------------------------------------

                 Key: CAMEL-5027
                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
             Project: Camel
          Issue Type: Bug
          Components: camel-core
            Reporter: XiaopengLi
            Priority: Minor




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-5027) JMX statistics problem with some components

Posted by "Claus Ibsen (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-5027:
----------------------------------

    Assignee: Claus Ibsen
    
> JMX statistics problem with some components
> -------------------------------------------
>
>                 Key: CAMEL-5027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4
>            Reporter: XiaopengLi
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: Camel-bug.jpg
>
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               from("timer:foo?period=5000").routeId("timer").loadBalance()
>                      .roundRobin().id("load_balance_1").to("log:one")
>                      .id("log_one").to("log:two").id("log_two").end();
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
>  
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5027) JMX statistics problem with some components

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213641#comment-13213641 ] 

Claus Ibsen commented on CAMEL-5027:
------------------------------------

Thanks for reporting and with screenshot.

I have reproduced the issue, the load balancer does not record any stats.
                
> JMX statistics problem with some components
> -------------------------------------------
>
>                 Key: CAMEL-5027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4
>            Reporter: XiaopengLi
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: Camel-bug.jpg
>
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               from("timer:foo?period=5000").routeId("timer").loadBalance()
>                      .roundRobin().id("load_balance_1").to("log:one")
>                      .id("log_one").to("log:two").id("log_two").end();
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
>  
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5027) JMX statistics problem with some components

Posted by "XiaopengLi (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213490#comment-13213490 ] 

XiaopengLi commented on CAMEL-5027:
-----------------------------------

For detail, refer to http://jira.talendforge.org/browse/TESB-3905
                
> JMX statistics problem with some components
> -------------------------------------------
>
>                 Key: CAMEL-5027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4
>            Reporter: XiaopengLi
>            Priority: Minor
>         Attachments: Camel-bug.jpg
>
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               from("timer:foo?period=5000").routeId("timer").loadBalance()
>                      .roundRobin().id("load_balance_1").to("log:one")
>                      .id("log_one").to("log:two").id("log_two").end();
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
>  
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5027) JMX statistics problem with some components

Posted by "XiaopengLi (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

XiaopengLi updated CAMEL-5027:
------------------------------

          Description: 
Here is the test class:
{noformat}
public class TestStatistics {
 
    public static void main(String[] args) throws Exception {
       DefaultCamelContext context = new DefaultCamelContext();
       context.addRoutes(new RouteBuilder() {
 
           @Override
           public void configure() throws Exception {
              from("timer:foo?period=5000").routeId("timer").loadBalance()
                     .roundRobin().id("load_balance_1").to("log:one")
                     .id("log_one").to("log:two").id("log_two").end();
 
           }
       });
       context.start();
       Thread.sleep(500000);
       context.stop();
    }
 
}
{noformat}

The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.
    Affects Version/s: 2.8.4
    
> JMX statistics problem with some components
> -------------------------------------------
>
>                 Key: CAMEL-5027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4
>            Reporter: XiaopengLi
>            Priority: Minor
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               from("timer:foo?period=5000").routeId("timer").loadBalance()
>                      .roundRobin().id("load_balance_1").to("log:one")
>                      .id("log_one").to("log:two").id("log_two").end();
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
>  
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5027) JMX statistics problem with some components

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5027.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0
                   2.9.1
                   2.8.5
    
> JMX statistics problem with some components
> -------------------------------------------
>
>                 Key: CAMEL-5027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4
>            Reporter: XiaopengLi
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.5, 2.9.1, 2.10.0
>
>         Attachments: Camel-bug.jpg
>
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               from("timer:foo?period=5000").routeId("timer").loadBalance()
>                      .roundRobin().id("load_balance_1").to("log:one")
>                      .id("log_one").to("log:two").id("log_two").end();
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
>  
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5027) JMX statistics problem with some components

Posted by "XiaopengLi (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

XiaopengLi updated CAMEL-5027:
------------------------------

    Attachment: Camel-bug.jpg

Details
                
> JMX statistics problem with some components
> -------------------------------------------
>
>                 Key: CAMEL-5027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5027
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4
>            Reporter: XiaopengLi
>            Priority: Minor
>         Attachments: Camel-bug.jpg
>
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               from("timer:foo?period=5000").routeId("timer").loadBalance()
>                      .roundRobin().id("load_balance_1").to("log:one")
>                      .id("log_one").to("log:two").id("log_two").end();
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
>  
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira