You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2011/06/20 17:38:47 UTC
[jira] [Created] (CAMEL-4122) JMX API to create/delete endpoint
JMX API to create/delete endpoint
---------------------------------
Key: CAMEL-4122
URL: https://issues.apache.org/jira/browse/CAMEL-4122
Project: Camel
Issue Type: Improvement
Reporter: james strachan
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
[jira] [Resolved] (CAMEL-4122) JMX API to create/delete endpoint
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4122.
--------------------------------
Resolution: Fixed
> 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
[jira] [Commented] (CAMEL-4122) JMX API to create/delete endpoint
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CAMEL-4122) JMX API to create/delete endpoint
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052046#comment-13052046 ]
james strachan commented on CAMEL-4122:
---------------------------------------
In ActiveMQ and ServiceMix you can view/create/delete endpoints at any time. This is simple and flexible. The fact that the only way to do that in Camel is by creating a route or sending to it is a bit of an omission IMHO.
e.g. you can create an endpoint directly in camel-web; then browse messages & send message to it - then at some point later on, write some kind of route or create a consumer or whatever.
Tooling of all kinds (command lines, web apps & IDEs) then browse endpoints to help you design/edit routes or move messages from endpoint to endpoint (whether there exists right now a route using the endpoint or not).
When a user is 'playing' in development mode its natural to just create endpoints up front.
So just because typically at deployment time, the way to create endpoints is lazily via route definitions is kinda mute point. Just like in JMS, the way to create destinations is to send/consume; its handy for developers to be able to do so up front - whether there is currently a route/consumer nor not.
> 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
[jira] [Assigned] (CAMEL-4122) JMX API to create/delete endpoint
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-4122:
----------------------------------
Assignee: Claus Ibsen
> 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
> 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
[jira] [Updated] (CAMEL-4122) JMX API to create/delete endpoint
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-4122:
-------------------------------
Component/s: jmx
Priority: Minor (was: Major)
Affects Version/s: 2.7.0
> 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
[jira] [Commented] (CAMEL-4122) JMX API to create/delete endpoint
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052047#comment-13052047 ]
james strachan commented on CAMEL-4122:
---------------------------------------
BTW you can create endpoints via the Java API and via the REST API - if nothing else, JMX is being inconsistent.
> 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