camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2674) Add Spring JMX / @ManagedAttribute annotation to loadbalancer processor in order to be able though jmx console to add / remove endpoints
Date Mon, 26 Apr 2010 13:19:27 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59095#action_59095
] 

Claus Ibsen commented on CAMEL-2674:
------------------------------------

You need to use a JmxOperation on the mbean for this

{code}
public void addEndpointUri(String uri) {
  // lookup endpoint using CamelContext
 // use createProducer method on endpoint to create the Processor needed
// add the processor on the Load Balancer
{code}

And when you need to remove you may have to provide a number / index for the endpoint to be
removed

And you may need an operation to list the current endpoint uris and their index number so
you can see which endpoints there currently are
and which number (index) you need to use if you want to remove one of them

> Add Spring JMX / @ManagedAttribute annotation to loadbalancer processor in order to be
able though jmx console to add / remove endpoints
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2674
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2674
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Charles Moulliard
>             Fix For: 2.3.0
>
>
> Add Spring JMX / @ManagedAttribute annotation to loadbalancer processor in order to be
able though jmx console to add /
> remove endpoints from existing List. This will allow infra people to reconfigure dynamically
list of HTTP / Jetty / Mina servers available for loadbalancing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message