[
https://issues.apache.org/jira/browse/CAMEL-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052036#comment-13052036
]
Hadrian Zbarcea commented on CAMEL-4122:
----------------------------------------
Agree, but isn't it a bit too low level? An endpoint is kind of an abstract
entity, in the sense that it's totally useless if you don't also create a
producer or consumer. These are usually created by instantiating a route via
the dsl. Since creating the route is the user's goal and we aim to do it in a
simple way, how helpful is such a low level api? Endpoints are created
automatically anyway from the dsl. With removeEndpoint it's even trickier, do
you mean to remove just a fromEndpoint of a Route, thus shutting down a route?
Am I missing something? Maybe a better description of how the api should be
used would clarify things.
> JMX API to create/delete endpoint
> ---------------------------------
>
> Key: CAMEL-4122
> URL: https://issues.apache.org/jira/browse/CAMEL-4122
> Project: Camel
> Issue Type: Improvement
> Components: jmx
> Affects Versions: 2.7.0
> Reporter: james strachan
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.8.0
>
>
> we can create endpoints on the fly via the camel-web REST API; or by just
> sending a message to a new endpoint URI or consuming from a URI. But there is
> currently no JMX way to do so which is a bit of an omission.
> Something like...
> createEndpoint(String uri);
> would be a nice addition to the MBeans API on a ManagedCamelContext. Maybe a
> removeEndpoint(String uri) too would be handy.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira