EndpointCompleterPage added by James StrachanEndpointCompleterThe EndpointCompleter API is an optional SPI interface for Component implementors. It provides a completion hook; rather like bash tab completion, or the completion in the Karaf shell(http://karaf.apache.org/manual/latest-2.3.x/users-guide/using-console.html) when typing commands. Nice behaving components should implement EndpointCompleter and its completion method. The method is given a ComponentConfiguration object which wraps up all the various configuration values (and can be used to create a new Endpoint instance if required - or inject values into an exemplar internal instance). The completeEndpointPath() method then returns a list of Strings of the matching values available. For example here's the implementation code in the FileComponent to implement completeEndpointPath()(https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java#L69). Some example implementations include:
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Camel > EndpointCompleter confluence
- [CONF] Apache Camel > EndpointCompleter confluence
- [CONF] Apache Camel > EndpointCompleter confluence
- [CONF] Apache Camel > EndpointCompleter confluence