You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Rémy DUBOIS (JIRA)" <ji...@apache.org> on 2011/06/03 19:03:47 UTC

[jira] [Created] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

ChoiceProcessor : unable to find the mBeans processor
-----------------------------------------------------

                 Key: CAMEL-4044
                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.7.0
         Environment: Windows XP
            Reporter: Rémy DUBOIS


Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.

For example :

from("direct:start").to("mock:test1").id("mock1")
.choice()
.when(predicate).to("mock:test2").id("test2")
.otherwise().to("mock:test3").id("test3")
.end()
.to("mock:outOfChoice").id("outOfChoice");

The processors mock1 and outOfChoice are well found but not the processors test2 and test3.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Daniel Kulp updated CAMEL-4044:
-------------------------------

    Attachment: camel-4044.patch


Attaching a patch that actually  solves the issues.  It's a little more involved that could be, but needs some API cleanup, hopefully for 3.0.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Daniel Kulp
>             Fix For: 2.8.0
>
>         Attachments: camel-4044.patch
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Hadrian Zbarcea resolved CAMEL-4044.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.3

Patch applied to both trunk and 2.7.x branch. Thanks Dan for the contribution.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Daniel Kulp
>             Fix For: 2.7.3, 2.8.0
>
>         Attachments: camel-4044.patch
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Daniel Kulp reopened CAMEL-4044:
--------------------------------

      Assignee: Daniel Kulp  (was: Claus Ibsen)
    Regression: [Unit Test Broken]


The added unit test does no actually test that this is solved.   It doesn't assert that calls to isRegistered actually return true.  If you assert that, you'll see the test fails.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Daniel Kulp
>             Fix For: 2.8.0
>
>         Attachments: camel-4044.patch
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Hadrian Zbarcea reassigned CAMEL-4044:
--------------------------------------

    Assignee: Hadrian Zbarcea

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.0
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Claus Ibsen updated CAMEL-4044:
-------------------------------

    Attachment: coverage.png

Parts of all the new code added isn't tested. We should consider adding tests for this. See coverage image attached.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Daniel Kulp
>             Fix For: 2.7.3, 2.8.0
>
>         Attachments: camel-4044.patch, coverage.png
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Hadrian Zbarcea commented on CAMEL-4044:
----------------------------------------

@Dan, awesome patch! I started a full test build and will apply later today if all goes well. Many thanks and we look forward to more contributions from you.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Daniel Kulp
>             Fix For: 2.8.0
>
>         Attachments: camel-4044.patch
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Hadrian Zbarcea commented on CAMEL-4044:
----------------------------------------

Thanks Remy for reporting this.

I could reproduce the problem at least in part. I will look into it over the weekend and come back with more details, probably a fix too.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>             Fix For: 2.8.0
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Claus Ibsen commented on CAMEL-4044:
------------------------------------

This one was fixed by chance when I got CAMEL-4050 resolved. I had a look at the unresolved bugs and notice this issue about the CBR. So I realized my changes most likely would resolve this as well. Adding unit test confirmed that.

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Claus Ibsen resolved CAMEL-4044.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen  (was: Hadrian Zbarcea)

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-4044) ChoiceProcessor : unable to find the mBeans processor

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

Hadrian Zbarcea updated CAMEL-4044:
-----------------------------------

    Fix Version/s: 2.8.0

> ChoiceProcessor : unable to find the mBeans processor
> -----------------------------------------------------
>
>                 Key: CAMEL-4044
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4044
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>         Environment: Windows XP
>            Reporter: Rémy DUBOIS
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.0
>
>
> Using the jconsole, we are not able to locate some processors after a ChoiceProcessor.
> For example :
> from("direct:start").to("mock:test1").id("mock1")
> .choice()
> .when(predicate).to("mock:test2").id("test2")
> .otherwise().to("mock:test3").id("test3")
> .end()
> .to("mock:outOfChoice").id("outOfChoice");
> The processors mock1 and outOfChoice are well found but not the processors test2 and test3.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira