[ 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