You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Vid Cheruvu (Created) (JIRA)" <ji...@apache.org> on 2012/01/24 23:06:40 UTC
[jira] [Created] (CAMEL-4938) ManagedBrowsableEndpoint are broken
ManagedBrowsableEndpoint are broken
-----------------------------------
Key: CAMEL-4938
URL: https://issues.apache.org/jira/browse/CAMEL-4938
Project: Camel
Issue Type: Bug
Components: camel-cometd
Reporter: Vid Cheruvu
Fix For: 2.8.4
ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-4938:
-------------------------------
Attachment: CAMEL-4938.patch
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
> Attachments: CAMEL-4938.patch
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4938.
--------------------------------
Resolution: Fixed
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
> Attachments: CAMEL-4938.patch
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Babak Vahdat (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat reassigned CAMEL-4938:
-----------------------------------
Assignee: Babak Vahdat
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196233#comment-13196233 ]
Claus Ibsen commented on CAMEL-4938:
------------------------------------
Yeah its a better idea to do like JMS endpoint. So I will fix that. Thanks.
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
> Attachments: CAMEL-4938.patch, org.apache.camel.component.jms.BrowsableQueueTest.jpg
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Babak Vahdat (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193164#comment-13193164 ]
Babak Vahdat commented on CAMEL-4938:
-------------------------------------
A dirty fix would be to duplicate the JMX operations already provided by ManagedBrowsableEndpoint on the SedaEndpoint as well. This seems to be also the case for JmsQueueEndpoint!
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Fix For: 2.9.1, 2.10.0
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-4938:
-------------------------------
Component/s: (was: camel-cometd)
jmx
camel-core
Affects Version/s: 2.9.0
Fix Version/s: (was: 2.8.4)
2.10.0
2.9.1
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Fix For: 2.9.1, 2.10.0
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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] [Issue Comment Edited] (CAMEL-4938) ManagedBrowsableEndpoint
are broken
Posted by "Babak Vahdat (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196165#comment-13196165 ]
Babak Vahdat edited comment on CAMEL-4938 at 1/30/12 3:17 PM:
--------------------------------------------------------------
Claus,
thanks beforehand for providing & applying the patch which indeed resolved the problem, however the solution is to my understanding is not *generic* as we've now introduced SEDA Endpoint specific logic into DefaultManagementObjectStrategy:
{code}
} else if (endpoint instanceof SedaEndpoint) {
ManagedSedaEndpoint me = new ManagedSedaEndpoint((SedaEndpoint) endpoint);
me.init(context.getManagementStrategy());
return me;
{code}
And have also introduced a ManagedSedaEndpoint which is again *Endpoint specific*, IMHO not nice!
Another note: by enableing JMX on
{code}
org.apache.camel.component.jms.BrowsableQueueTest
{code}
I see that the JMX operations are enlisted twice, causing (almost) the same behaviour (see the attached screenshot).
Shouldn't we remove the ManagedResource & ManagedOperation annotations on JmsQueueEndpoint as well? The same as you did for SedaEndpoint?
was (Author: bvahdat):
Claus,
thanks beforehand for providing & applying the patch which indeed resolved the problem, however the solution
is to my understanding is not *generic* as we've now introduced SEDA Endpoint specific logic into DefaultManagementObjectStrategy:
{code}
} else if (endpoint instanceof SedaEndpoint) {
ManagedSedaEndpoint me = new ManagedSedaEndpoint((SedaEndpoint) endpoint);
me.init(context.getManagementStrategy());
return me;
{code}
And have also introduced a ManagedSedaEndpoint which is again *Endpoint specific*, IMHO not nice!
Another note: by enableing JMX on
{code}
org.apache.camel.component.jms.BrowsableQueueTest
{code}
I see that the JMX operations are enlisted twice, causing (almost) the same behaviour (see the attached screenshot).
Shouldn't we remove the ManagedResource & ManagedOperation annotations on JmsQueueEndpoint as well? The same as you did for SedaEndpoint?
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
> Attachments: CAMEL-4938.patch, org.apache.camel.component.jms.BrowsableQueueTest.jpg
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Babak Vahdat (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babak Vahdat updated CAMEL-4938:
--------------------------------
Attachment: org.apache.camel.component.jms.BrowsableQueueTest.jpg
Claus,
thanks beforehand for providing & applying the patch which indeed resolved the problem, however the solution
is to my understanding is not *generic* as we've now introduced SEDA Endpoint specific logic into DefaultManagementObjectStrategy:
{code}
} else if (endpoint instanceof SedaEndpoint) {
ManagedSedaEndpoint me = new ManagedSedaEndpoint((SedaEndpoint) endpoint);
me.init(context.getManagementStrategy());
return me;
{code}
And have also introduced a ManagedSedaEndpoint which is again *Endpoint specific*, IMHO not nice!
Another note: by enableing JMX on
{code}
org.apache.camel.component.jms.BrowsableQueueTest
{code}
I see that the JMX operations are enlisted twice, causing (almost) the same behaviour (see the attached screenshot).
Shouldn't we remove the ManagedResource & ManagedOperation annotations on JmsQueueEndpoint as well? The same as you did for SedaEndpoint?
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
> Attachments: CAMEL-4938.patch, org.apache.camel.component.jms.BrowsableQueueTest.jpg
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196105#comment-13196105 ]
Claus Ibsen commented on CAMEL-4938:
------------------------------------
Thanks for reporting.
We should add a specialized ManagedSedaEndpoint to combine the browsable with the custom seda operations, in one combined interface the JMX API can handle calling.
Also adding to the unit tests that it uses some of the JMX operations from browsable endpoint in the seda endpoint test.
I am running a test with a fix.
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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-4938) ManagedBrowsableEndpoint are broken
Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196230#comment-13196230 ]
Claus Ibsen commented on CAMEL-4938:
------------------------------------
Ah that single method is actually @deprecated and wasn't included on trunk.
There is no duplicate methods, just methods with the same name, but with different parameters (eg overloaded methods).
> ManagedBrowsableEndpoint are broken
> -----------------------------------
>
> Key: CAMEL-4938
> URL: https://issues.apache.org/jira/browse/CAMEL-4938
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.9.0
> Reporter: Vid Cheruvu
> Assignee: Babak Vahdat
> Fix For: 2.9.1, 2.10.0
>
> Attachments: CAMEL-4938.patch, org.apache.camel.component.jms.BrowsableQueueTest.jpg
>
>
> ManagedeBrowsableEndpoint are broken which means any component that inherit ManagedBrowsableEndpoint have errors as well. Please see the link below which will have error screen shot of queueSize JMX operations.
> http://camel.465427.n5.nabble.com/JMX-queue-size-operation-fails-Camel-2-9-0-td5233089.html
--
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