You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/11/05 12:34:45 UTC

[camel] branch master updated (453dd41 -> 26c8c23)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 453dd41  Added using OSGi blueprint link to adoc
     new c823585  Added Endpoint completer to adoc
     new 26c8c23  Added Endpoint Completer to Summary

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/user-manual/en/SUMMARY.md              |  2 +-
 docs/user-manual/en/endpoint-completer.adoc | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 docs/user-manual/en/endpoint-completer.adoc


[camel] 02/02: Added Endpoint Completer to Summary

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 26c8c23a86334f093db0de936ec878db6db8c13c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 5 13:34:19 2018 +0100

    Added Endpoint Completer to Summary
---
 docs/user-manual/en/SUMMARY.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index 7f0b599..00bd04f 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -93,7 +93,7 @@
 * [DSL](dsl.adoc)
 * [Endpoint](endpoint.adoc)
 * Endpoint Annotations
-* EndpointCompleter
+* [EndpointCompleter](endpoint-completer.adoc)
 * [Error Handler](error-handler.adoc)
 * [Exchange](exchange.adoc)
 * [Exchange Pattern](exchange-pattern.adoc)


[camel] 01/02: Added Endpoint completer to adoc

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c823585bbe592d5f6b76da8096fb410fb9da7ee6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 5 13:33:50 2018 +0100

    Added Endpoint completer to adoc
---
 docs/user-manual/en/endpoint-completer.adoc | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/docs/user-manual/en/endpoint-completer.adoc b/docs/user-manual/en/endpoint-completer.adoc
new file mode 100644
index 0000000..45b59bc
--- /dev/null
+++ b/docs/user-manual/en/endpoint-completer.adoc
@@ -0,0 +1,27 @@
+[[EndpointCompleter-EndpointCompleter]]
+=== EndpointCompleter
+
+As of *Camel 2.12*.
+This API is an optional SPI interface for link:component.adoc[Component]
+implementors. It provides a completion hook; rather like bash tab
+completion, or the completion in the
+http://karaf.apache.org/manual/latest/#_using_the_console[Karaf
+shell] 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
+https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java#L78[implementation
+code in the FileComponent to implement completeEndpointPath()].
+
+Some example implementations include:
+
+* link:file2.adoc[File]
+