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 2019/07/31 09:58:11 UTC

[camel] branch camel-2.x updated (b74e255 -> 7729808)

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

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


    from b74e255  CAMEL-13788: Deprecate OUT in favour of getMessage
     new c9e6c55  CAMEL-13806: Deprecate Camel-EJB
     new f454479  Regen
     new 7729808  Regen

The 3 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:
 camel-core/readme.adoc                             |  82 +++++-
 components/camel-ejb/pom.xml                       |   2 +-
 .../camel-ejb/src/main/docs/ejb-component.adoc     |   7 +-
 components/readme.adoc                             |   6 +-
 docs/components/modules/ROOT/nav.adoc              |  11 +-
 .../modules/ROOT/pages/ssh-component.adoc          | 283 +--------------------
 6 files changed, 94 insertions(+), 297 deletions(-)
 mode change 100644 => 120000 docs/components/modules/ROOT/pages/ssh-component.adoc


[camel] 02/03: Regen

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

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

commit f4544795d08c3a0d6e05aeca72ab23151040ed6a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jul 31 11:41:25 2019 +0200

    Regen
---
 camel-core/readme.adoc                             |  82 +++++-
 .../camel-ejb/src/main/docs/ejb-component.adoc     |   2 +
 components/readme.adoc                             |   6 +-
 docs/components/modules/ROOT/nav.adoc              |  11 +-
 .../modules/ROOT/pages/ssh-component.adoc          | 283 +--------------------
 5 files changed, 90 insertions(+), 294 deletions(-)

diff --git a/camel-core/readme.adoc b/camel-core/readme.adoc
index d189ec2..601cc9a 100644
--- a/camel-core/readme.adoc
+++ b/camel-core/readme.adoc
@@ -6,18 +6,90 @@ Components
 
 
 // components: START
-Number of Components: 2 in 1 JAR artifacts (1 deprecated)
+Number of Components: 26 in 1 JAR artifacts (1 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
 | Component | Available From | Description
 
+| link:src/main/docs/bean-component.adoc[Bean] (camel-core) +
+`bean:beanName` | 1.0 | The bean component is for invoking Java beans from Camel.
+
 | link:src/main/docs/binding-component.adoc[Binding] (camel-core) +
 `binding:bindingName:delegateUri` | 2.11 | *deprecated* The binding component is used for as a of wrapping an Endpoint in a contract with a data format.
 
+| link:src/main/docs/browse-component.adoc[Browse] (camel-core) +
+`browse:name` | 1.3 | The browse component is used for viewing the messages received on endpoints that supports BrowsableEndpoint.
+
+| link:src/main/docs/class-component.adoc[Class] (camel-core) +
+`class:beanName` | 2.4 | The Class Component is for invoking Java Classes (Java beans) from Camel.
+
+| link:src/main/docs/controlbus-component.adoc[Control Bus] (camel-core) +
+`controlbus:command:language` | 2.11 | The controlbus component provides easy management of Camel applications based on the Control Bus EIP pattern.
+
+| link:src/main/docs/dataformat-component.adoc[Data Format] (camel-core) +
+`dataformat:name:operation` | 2.12 | The dataformat component is used for working with Data Formats as if it was a regular Component supporting Endpoints and URIs.
+
+| link:src/main/docs/dataset-component.adoc[Dataset] (camel-core) +
+`dataset:name` | 1.3 | The dataset component provides a mechanism to easily perform load & soak testing of your system.
+
+| link:src/main/docs/direct-component.adoc[Direct] (camel-core) +
+`direct:name` | 1.0 | The direct component provides direct, synchronous call to another endpoint from the same CamelContext.
+
+| link:src/main/docs/direct-vm-component.adoc[Direct VM] (camel-core) +
+`direct-vm:name` | 2.10 | The direct-vm component provides direct, synchronous call to another endpoint from any CamelContext in the same JVM.
+
+| link:src/main/docs/file-component.adoc[File] (camel-core) +
+`file:directoryName` | 1.0 | The file component is used for reading or writing files.
+
+| link:src/main/docs/language-component.adoc[Language] (camel-core) +
+`language:languageName:resourceUri` | 2.5 | The language component allows you to send a message to an endpoint which executes a script by any of the supported Languages in Camel.
+
+| link:src/main/docs/log-component.adoc[Log] (camel-core) +
+`log:loggerName` | 1.1 | The log component logs message exchanges to the underlying logging mechanism.
+
+| link:src/main/docs/mock-component.adoc[Mock] (camel-core) +
+`mock:name` | 1.0 | The mock component is used for testing routes and mediation rules using mocks.
+
+| link:src/main/docs/properties-component.adoc[Properties] (camel-core) +
+`properties:key` | 2.3 | The properties component is used for using property placeholders in endpoint uris.
+
+| link:src/main/docs/ref-component.adoc[Ref] (camel-core) +
+`ref:name` | 1.2 | The ref component is used for lookup of existing endpoints bound in the Registry.
+
+| link:src/main/docs/rest-component.adoc[REST] (camel-core) +
+`rest:method:path:uriTemplate` | 2.14 | The rest component is used for either hosting REST services (consumer) or calling external REST services (producer).
+
+| link:src/main/docs/rest-api-component.adoc[REST API] (camel-core) +
+`rest-api:path/contextIdPattern` | 2.16 | The rest-api component is used for providing Swagger API of the REST services which has been defined using the rest-dsl in Camel.
+
+| link:src/main/docs/saga-component.adoc[Saga] (camel-core) +
+`saga:action` | 2.21 | The saga component provides access to advanced options for managing the flow in the Saga EIP.
+
+| link:src/main/docs/scheduler-component.adoc[Scheduler] (camel-core) +
+`scheduler:name` | 2.15 | The scheduler component is used for generating message exchanges when a scheduler fires.
+
+| link:src/main/docs/seda-component.adoc[SEDA] (camel-core) +
+`seda:name` | 1.1 | The seda component provides asynchronous call to another endpoint from any CamelContext in the same JVM.
+
+| link:src/main/docs/stub-component.adoc[Stub] (camel-core) +
+`stub:name` | 2.10 | The stub component provides a simple way to stub out any physical endpoints while in development or testing.
+
 | link:src/main/docs/test-component.adoc[Test] (camel-core) +
 `test:name` | 1.3 | The test component extends the mock component by on startup to pull messages from another endpoint to set the expected message bodies.
 
+| link:src/main/docs/timer-component.adoc[Timer] (camel-core) +
+`timer:timerName` | 1.0 | The timer component is used for generating message exchanges when a timer fires.
+
+| link:src/main/docs/validator-component.adoc[Validator] (camel-core) +
+`validator:resourceUri` | 1.1 | Validates the payload of a message using XML Schema and JAXP Validation.
+
+| link:src/main/docs/vm-component.adoc[VM] (camel-core) +
+`vm:name` | 1.1 | The vm component provides asynchronous call to another endpoint from the same CamelContext.
+
+| link:src/main/docs/xslt-component.adoc[XSLT] (camel-core) +
+`xslt:resourceUri` | 1.3 | Transforms the message using a XSLT template.
+
 |===
 // components: END
 
@@ -34,7 +106,7 @@ Data Formats
 
 
 // dataformats: START
-Number of Data Formats: 4 in 43 JAR artifacts (5 deprecated)
+Number of Data Formats: 4 in 39 JAR artifacts (5 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -64,12 +136,14 @@ Expression Languages
 
 
 // languages: START
-Number of Languages: 8 in 1 JAR artifacts (0 deprecated)
+Number of Languages: 10 in 1 JAR artifacts (0 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
 | Language | Available From | Description
 
+| link:src/main/docs/bean-language.adoc[Bean method] (camel-core) | 1.3 | To use a Java bean (aka method call) in Camel expressions or predicates.
+
 | link:src/main/docs/constant-language.adoc[Constant] (camel-core) | 1.5 | To use a constant value in Camel expressions or predicates.
 
 | link:src/main/docs/exchangeProperty-language.adoc[ExchangeProperty] (camel-core) | 2.0 | To use a Camel Exchange property in expressions or predicates.
@@ -85,6 +159,8 @@ Number of Languages: 8 in 1 JAR artifacts (0 deprecated)
 | link:src/main/docs/tokenize-language.adoc[Tokenize] (camel-core) | 2.0 | To use Camel message body or header with a tokenizer in Camel expressions or predicates.
 
 | link:src/main/docs/xtokenize-language.adoc[XML Tokenize] (camel-core) | 2.14 | To use Camel message body or header with a XML tokenizer in Camel expressions or predicates.
+
+| link:src/main/docs/xpath-language.adoc[XPath] (camel-core) | 1.1 | To use XPath (XML) in Camel expressions or predicates.
 |===
 // languages: END
 
diff --git a/components/camel-ejb/src/main/docs/ejb-component.adoc b/components/camel-ejb/src/main/docs/ejb-component.adoc
index 5f53de2..988ff47 100644
--- a/components/camel-ejb/src/main/docs/ejb-component.adoc
+++ b/components/camel-ejb/src/main/docs/ejb-component.adoc
@@ -1,6 +1,8 @@
+[[ejb-component]]
 == EJB Component (deprecated)
 
 *Available as of Camel version 2.4*
+
 *Available as of Camel version 2.4*
 
 
diff --git a/components/readme.adoc b/components/readme.adoc
index 6ae13d7..e143454 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -2,7 +2,7 @@ Components
 ^^^^^^^^^^
 
 // components: START
-Number of Components: 311 in 211 JAR artifacts (24 deprecated)
+Number of Components: 311 in 211 JAR artifacts (25 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -21,7 +21,7 @@ Number of Components: 311 in 211 JAR artifacts (24 deprecated)
 `flink:endpointType` | 2.18 | The flink component can be used to send DataSet jobs to Apache Flink cluster.
 
 | link:camel-pulsar/src/main/docs/pulsar-component.adoc[Apache Pulsar] (camel-pulsar) +
-`pulsar:persistence://tenant/namespace/topic` |  | Camel Apache Pulsar Component
+`pulsar:uri` | 2.24 | Camel Apache Pulsar Component
 
 | link:camel-spark/src/main/docs/spark-component.adoc[Apache Spark] (camel-spark) +
 `spark:endpointType` | 2.17 | The spark component can be used to send RDD or DataFrame jobs to Apache Spark cluster.
@@ -243,7 +243,7 @@ Number of Components: 311 in 211 JAR artifacts (24 deprecated)
 `ehcache:cacheName` | 2.18 | The ehcache component enables you to perform caching operations using Ehcache as cache implementation.
 
 | link:camel-ejb/src/main/docs/ejb-component.adoc[EJB] (camel-ejb) +
-`ejb:beanName` | 2.4 | The ejb component is for invoking EJB Java beans from Camel.
+`ejb:beanName` | 2.4 | *deprecated* The ejb component is for invoking EJB Java beans from Camel.
 
 | link:camel-elasticsearch-rest/src/main/docs/elasticsearch-rest-component.adoc[Elastichsearch Rest] (camel-elasticsearch-rest) +
 `elasticsearch-rest:clusterName` | 2.21 | The elasticsearch component is used for interfacing with ElasticSearch server using REST API.
diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index 3845c76..c796bc8 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -1,6 +1,6 @@
 * xref:ahc-component.adoc[AHC Component]
-* xref:amqp-component.adoc[AMQP Component]
 * xref:ahc-ws-component.adoc[AHC Websocket Component]
+* xref:amqp-component.adoc[AMQP Component]
 * xref:apns-component.adoc[APNS Component]
 * xref:asn1-dataformat.adoc[ASN.1 File DataFormat]
 * xref:asterisk-component.adoc[Asterisk Component]
@@ -39,13 +39,13 @@
 * xref:bam-example.adoc[Business Activity Monitor (BAM) Example]
 * xref:bam.adoc[Business Activity Monitoring]
 * xref:barcode-dataformat.adoc[Barcode DataFormat]
-* xref:base64-dataformat.adoc[Base64 DataFormat]
 * xref:bean-validator-component.adoc[Bean Validator Component]
 * xref:beanio-dataformat.adoc[BeanIO DataFormat]
+* xref:base64-dataformat.adoc[Base64 DataFormat]
 * xref:beanstalk-component.adoc[Beanstalk Component]
 * xref:bindy-dataformat.adoc[Bindy DataFormat]
-* xref:blueprint.adoc[Using OSGi blueprint with Camel]
 * xref:bonita-component.adoc[Bonita Component]
+* xref:blueprint.adoc[Using OSGi blueprint with Camel]
 * xref:boon-dataformat.adoc[Boon DataFormat]
 * xref:braintree-component.adoc[Braintree Component]
 * xref:cache-component.adoc[EHCache Component (deprecated)]
@@ -53,10 +53,9 @@
 * xref:caffeine-loadcache-component.adoc[Caffeine LoadCache Component]
 * xref:cql-component.adoc[Cassandra CQL Component]
 * xref:castor-dataformat.adoc[Castor DataFormat (deprecated)]
-* xref:cdi.adoc[Camel CDI]
 * xref:chronicle-engine-component.adoc[Chronicle Engine Component (deprecated)]
+* xref:cdi.adoc[Camel CDI]
 * xref:chunk-component.adoc[Chunk Component]
-* xref:cm-sms-component.adoc[CM SMS Gateway Component]
 * xref:cmis-component.adoc[CMIS Component]
 * xref:coap-component.adoc[CoAP Component]
 * xref:cometd-component.adoc[CometD Component]
@@ -82,7 +81,7 @@
 * xref:dropbox-component.adoc[Dropbox Component]
 * xref:eclipse.adoc[Eclipse Component]
 * xref:ehcache-component.adoc[Ehcache Component]
-* xref:ejb-component.adoc[EJB Component]
+* xref:ejb-component.adoc[EJB Component (deprecated)]
 * xref:elasticsearch-component.adoc[Elasticsearch Component (deprecated)]
 * xref:elasticsearch-rest-component.adoc[Elastichsearch Rest Component]
 * xref:elasticsearch5-component.adoc[Elasticsearch5 Component (deprecated)]
diff --git a/docs/components/modules/ROOT/pages/ssh-component.adoc b/docs/components/modules/ROOT/pages/ssh-component.adoc
deleted file mode 100644
index 3b961f8..0000000
--- a/docs/components/modules/ROOT/pages/ssh-component.adoc
+++ /dev/null
@@ -1,282 +0,0 @@
-[[ssh-component]]
-== SSH Component
-
-*Available as of Camel version 2.10*
-
-The SSH component enables access to SSH servers such that you can send
-an SSH command, and process the response.
-
-Maven users will need to add the following dependency to their `pom.xml`
-for this component:
-
-[source,xml]
-------------------------------------------------------------
-<dependency>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>camel-ssh</artifactId>
-    <version>x.x.x</version>
-    <!-- use the same version as your Camel core version -->
-</dependency>
-------------------------------------------------------------
-
-### URI format
-
-[source,java]
------------------------------------------------
-ssh:[username[:password]@]host[:port][?options]
------------------------------------------------
-
-### Options
-
-
-
-// component options: START
-The SSH component supports 15 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *configuration* (advanced) | To use the shared SSH configuration |  | SshConfiguration
-| *host* (common) | Sets the hostname of the remote SSH server. |  | String
-| *port* (common) | Sets the port number for the remote SSH server. |  | int
-| *username* (security) | Sets the username to use in logging into the remote SSH server. |  | String
-| *password* (security) | Sets the password to use in connecting to remote SSH server. Requires keyPairProvider to be set to null. |  | String
-| *pollCommand* (common) | Sets the command string to send to the remote SSH server during every poll cycle. Only works with camel-ssh component being used as a consumer, i.e. from(ssh://...). You may need to end your command with a newline, and that must be URL encoded %0A |  | String
-| *keyPairProvider* (security) | Sets the KeyPairProvider reference to use when connecting using Certificates to the remote SSH Server. |  | KeyPairProvider
-| *keyType* (security) | Sets the key type to pass to the KeyPairProvider as part of authentication. KeyPairProvider.loadKey(...) will be passed this value. Defaults to ssh-rsa. |  | String
-| *timeout* (common) | Sets the timeout in milliseconds to wait in establishing the remote SSH server connection. Defaults to 30000 milliseconds. |  | long
-| *certResource* (security) | Sets the resource path of the certificate to use for Authentication. Will use ResourceHelperKeyPairProvider to resolve file based certificate, and depends on keyType setting. |  | String
-| *channelType* (advanced) | Sets the channel type to pass to the Channel as part of command execution. Defaults to exec. |  | String
-| *shellPrompt* (advanced) | Sets the shellPrompt to be dropped when response is read after command execution |  | String
-| *sleepForShellPrompt* (advanced) | Sets the sleep period in milliseconds to wait reading response from shell prompt. Defaults to 100 milliseconds. |  | long
-| *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
-| *basicPropertyBinding* (advanced) | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean
-|===
-// component options: END
-
-
-
-
-// endpoint options: START
-The SSH endpoint is configured using URI syntax:
-
-----
-ssh:host:port
-----
-
-with the following path and query parameters:
-
-==== Path Parameters (2 parameters):
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *host* | *Required* Sets the hostname of the remote SSH server. |  | String
-| *port* | Sets the port number for the remote SSH server. | 22 | int
-|===
-
-
-==== Query Parameters (33 parameters):
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *failOnUnknownHost* (common) | Specifies whether a connection to an unknown host should fail or not. This value is only checked when the property knownHosts is set. | false | boolean
-| *knownHostsResource* (common) | Sets the resource path for a known_hosts file |  | String
-| *timeout* (common) | Sets the timeout in milliseconds to wait in establishing the remote SSH server connection. Defaults to 30000 milliseconds. | 30000 | long
-| *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean
-| *pollCommand* (consumer) | Sets the command string to send to the remote SSH server during every poll cycle. Only works with camel-ssh component being used as a consumer, i.e. from(ssh://...) You may need to end your command with a newline, and that must be URL encoded %0A |  | String
-| *sendEmptyMessageWhenIdle* (consumer) | If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | false | boolean
-| *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
-| *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. |  | ExchangePattern
-| *pollStrategy* (consumer) | A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel. |  | PollingConsumerPoll Strategy
-| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...]
-| *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean
-| *channelType* (advanced) | Sets the channel type to pass to the Channel as part of command execution. Defaults to exec. | exec | String
-| *shellPrompt* (advanced) | Sets the shellPrompt to be dropped when response is read after command execution |  | String
-| *sleepForShellPrompt* (advanced) | Sets the sleep period in milliseconds to wait reading response from shell prompt. Defaults to 100 milliseconds. | 100 | long
-| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
-| *backoffErrorThreshold* (scheduler) | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in. |  | int
-| *backoffIdleThreshold* (scheduler) | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. |  | int
-| *backoffMultiplier* (scheduler) | To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. |  | int
-| *delay* (scheduler) | Milliseconds before the next poll. You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour). | 500 | long
-| *greedy* (scheduler) | If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. | false | boolean
-| *initialDelay* (scheduler) | Milliseconds before the first poll starts. You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour). | 1000 | long
-| *runLoggingLevel* (scheduler) | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. | TRACE | LoggingLevel
-| *scheduledExecutorService* (scheduler) | Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. |  | ScheduledExecutor Service
-| *scheduler* (scheduler) | To use a cron scheduler from either camel-spring or camel-quartz2 component | none | ScheduledPollConsumer Scheduler
-| *schedulerProperties* (scheduler) | To configure additional properties when using a custom scheduler or any of the Quartz2, Spring based scheduler. |  | Map
-| *startScheduler* (scheduler) | Whether the scheduler should be auto started. | true | boolean
-| *timeUnit* (scheduler) | Time unit for initialDelay and delay options. | MILLISECONDS | TimeUnit
-| *useFixedDelay* (scheduler) | Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. | true | boolean
-| *certResource* (security) | Sets the resource path of the certificate to use for Authentication. Will use ResourceHelperKeyPairProvider to resolve file based certificate, and depends on keyType setting. |  | String
-| *keyPairProvider* (security) | Sets the KeyPairProvider reference to use when connecting using Certificates to the remote SSH Server. |  | KeyPairProvider
-| *keyType* (security) | Sets the key type to pass to the KeyPairProvider as part of authentication. KeyPairProvider.loadKey(...) will be passed this value. From Camel 3.0.0 / 2.25.0, by default Camel will select the first available KeyPair that is loaded. Prior to this, a KeyType of 'ssh-rsa' was enforced by default. |  | String
-| *password* (security) | Sets the password to use in connecting to remote SSH server. Requires keyPairProvider to be set to null. |  | String
-| *username* (security) | Sets the username to use in logging into the remote SSH server. |  | String
-|===
-// endpoint options: END
-// spring-boot-auto-configure options: START
-=== Spring Boot Auto-Configuration
-
-When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
-
-[source,xml]
-----
-<dependency>
-  <groupId>org.apache.camel</groupId>
-  <artifactId>camel-ssh-starter</artifactId>
-  <version>x.x.x</version>
-  <!-- use the same version as your Camel core version -->
-</dependency>
-----
-
-
-The component supports 30 options, which are listed below.
-
-
-
-[width="100%",cols="2,5,^1,2",options="header"]
-|===
-| Name | Description | Default | Type
-| *camel.component.ssh.basic-property-binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | Boolean
-| *camel.component.ssh.cert-resource* | Sets the resource path of the certificate to use for Authentication. Will use ResourceHelperKeyPairProvider to resolve file based certificate, and depends on keyType setting. |  | String
-| *camel.component.ssh.channel-type* | Sets the channel type to pass to the Channel as part of command execution. Defaults to exec. |  | String
-| *camel.component.ssh.configuration.cert-resource* | Sets the resource path of the certificate to use for Authentication. Will use {@link ResourceHelperKeyPairProvider} to resolve file based certificate, and depends on keyType setting. |  | String
-| *camel.component.ssh.configuration.channel-type* | Sets the channel type to pass to the Channel as part of command execution. Defaults to "exec". | exec | String
-| *camel.component.ssh.configuration.fail-on-unknown-host* | Specifies whether a connection to an unknown host should fail or not. This value is only checked when the property knownHosts is set. | false | Boolean
-| *camel.component.ssh.configuration.host* | Sets the hostname of the remote SSH server. |  | String
-| *camel.component.ssh.configuration.key-pair-provider* | Sets the KeyPairProvider reference to use when connecting using Certificates to the remote SSH Server. |  | KeyPairProvider
-| *camel.component.ssh.configuration.key-type* | Sets the key type to pass to the KeyPairProvider as part of authentication. KeyPairProvider.loadKey(...) will be passed this value. From Camel 3.0.0 / 2.25.0, by default Camel will select the first available KeyPair that is loaded. Prior to this, a KeyType of 'ssh-rsa' was enforced by default. |  | String
-| *camel.component.ssh.configuration.known-hosts-resource* | Sets the resource path for a known_hosts file |  | String
-| *camel.component.ssh.configuration.password* | Sets the password to use in connecting to remote SSH server. Requires keyPairProvider to be set to null. |  | String
-| *camel.component.ssh.configuration.poll-command* | Sets the command string to send to the remote SSH server during every poll cycle. Only works with camel-ssh component being used as a consumer, i.e. from("ssh://...") You may need to end your command with a newline, and that must be URL encoded %0A |  | String
-| *camel.component.ssh.configuration.port* | Sets the port number for the remote SSH server. | 22 | Integer
-| *camel.component.ssh.configuration.shell-prompt* | Sets the shellPrompt to be dropped when response is read after command execution |  | String
-| *camel.component.ssh.configuration.sleep-for-shell-prompt* | Sets the sleep period in milliseconds to wait reading response from shell prompt. Defaults to 100 milliseconds. | 100 | Long
-| *camel.component.ssh.configuration.timeout* | Sets the timeout in milliseconds to wait in establishing the remote SSH server connection. Defaults to 30000 milliseconds. | 30000 | Long
-| *camel.component.ssh.configuration.username* | Sets the username to use in logging into the remote SSH server. |  | String
-| *camel.component.ssh.enabled* | Enable ssh component | true | Boolean
-| *camel.component.ssh.host* | Sets the hostname of the remote SSH server. |  | String
-| *camel.component.ssh.key-pair-provider* | Sets the KeyPairProvider reference to use when connecting using Certificates to the remote SSH Server. The option is a org.apache.sshd.common.keyprovider.KeyPairProvider type. |  | String
-| *camel.component.ssh.key-type* | Sets the key type to pass to the KeyPairProvider as part of authentication. KeyPairProvider.loadKey(...) will be passed this value. Defaults to ssh-rsa. |  | String
-| *camel.component.ssh.password* | Sets the password to use in connecting to remote SSH server. Requires keyPairProvider to be set to null. |  | String
-| *camel.component.ssh.poll-command* | Sets the command string to send to the remote SSH server during every poll cycle. Only works with camel-ssh component being used as a consumer, i.e. from(ssh://...). You may need to end your command with a newline, and that must be URL encoded %0A |  | String
-| *camel.component.ssh.port* | Sets the port number for the remote SSH server. |  | Integer
-| *camel.component.ssh.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean
-| *camel.component.ssh.shell-prompt* | Sets the shellPrompt to be dropped when response is read after command execution |  | String
-| *camel.component.ssh.sleep-for-shell-prompt* | Sets the sleep period in milliseconds to wait reading response from shell prompt. Defaults to 100 milliseconds. |  | Long
-| *camel.component.ssh.timeout* | Sets the timeout in milliseconds to wait in establishing the remote SSH server connection. Defaults to 30000 milliseconds. |  | Long
-| *camel.component.ssh.username* | Sets the username to use in logging into the remote SSH server. |  | String
-| *camel.component.ssh.configuration.cert-filename* | *Deprecated*  |  | String
-|===
-// spring-boot-auto-configure options: END
-
-
-
-### Usage as a Producer endpoint
-
-When the SSH Component is used as a Producer (`.to("ssh://...")`), it
-will send the message body as the command to execute on the remote SSH
-server.
-
-Here is an example of this within the XML DSL. Note that the command has
-an XML encoded newline (`+&#10;+`).
-
-[source,xml]
-----------------------------------------------
-<route id="camel-example-ssh-producer">
-  <from uri="direct:exampleSshProducer"/>
-  <setBody>
-    <constant>features:list&#10;</constant>
-  </setBody>
-  <to uri="ssh://karaf:karaf@localhost:8101"/>
-  <log message="${body}"/>
-</route>
-----------------------------------------------
-
-### Authentication
-
-The SSH Component can authenticate against the remote SSH server using
-one of two mechanisms: Public Key certificate or username/password.
-Configuring how the SSH Component does authentication is based on how
-and which options are set.
-
-1.  First, it will look to see if the `certResource` option has been
-set, and if so, use it to locate the referenced Public Key certificate
-and use that for authentication.
-2.  If `certResource` is not set, it will look to see if a
-`keyPairProvider` has been set, and if so, it will use that for
-certificate based authentication.
-3.  If neither `certResource` nor `keyPairProvider` are set, it will use
-the `username` and `password` options for authentication. Even though the `username` 
-and `password` are provided in the endpoint configuration and headers set with 
-`SshConstants.USERNAME_HEADER` (`CamelSshUsername`) and 
-`SshConstants.PASSWORD_HEADER` (`CamelSshPassword`), the endpoint 
-configuration is surpassed and credentials set in the headers are used.
-
-The following route fragment shows an SSH polling consumer using a
-certificate from the classpath.
-
-In the XML DSL,
-
-[source,xml]
--------------------------------------------------------------------------------------------------------------------------------------------------
-<route>
-  <from uri="ssh://scott@localhost:8101?certResource=classpath:test_rsa&amp;useFixedDelay=true&amp;delay=5000&amp;pollCommand=features:list%0A"/>
-  <log message="${body}"/>
-</route>
--------------------------------------------------------------------------------------------------------------------------------------------------
-
-In the Java DSL,
-
-[source,java]
------------------------------------------------------------------------------------------------------------------------------
-from("ssh://scott@localhost:8101?certResource=classpath:test_rsa&useFixedDelay=true&delay=5000&pollCommand=features:list%0A")
-    .log("${body}");
------------------------------------------------------------------------------------------------------------------------------
-
-An example of using Public Key authentication is provided in
-`examples/camel-example-ssh-security`.
-
-[[SSH-CertificateDependencies]]
-Certificate Dependencies
-
-You will need to add some additional runtime dependencies if you use
-certificate based authentication. You may need to use later versions depending what version
-of Camel you are using.
-
-[source,xml]
------------------------------------------
-<dependency>
-  <groupId>org.apache.sshd</groupId>
-  <artifactId>sshd-core</artifactId>
-  <version>0.8.0</version>
-</dependency>
-<dependency>
-  <groupId>org.bouncycastle</groupId>
-  <artifactId>bcpg-jdk15on</artifactId>
-  <version>1.47</version>
-</dependency>
-<dependency>
-  <groupId>org.bouncycastle</groupId>
-  <artifactId>bcpkix-jdk15on</artifactId>
-  <version>1.47</version>
-</dependency>
------------------------------------------
-
-### Example
-
-See the `examples/camel-example-ssh` and
-`examples/camel-example-ssh-security` in the Camel distribution.
-
-### See Also
-
-* Configuring Camel
-* Component
-* Endpoint
-* Getting Started
diff --git a/docs/components/modules/ROOT/pages/ssh-component.adoc b/docs/components/modules/ROOT/pages/ssh-component.adoc
new file mode 120000
index 0000000..1d85339
--- /dev/null
+++ b/docs/components/modules/ROOT/pages/ssh-component.adoc
@@ -0,0 +1 @@
+../../../../../components/camel-ssh/src/main/docs/ssh-component.adoc
\ No newline at end of file


[camel] 01/03: CAMEL-13806: Deprecate Camel-EJB

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

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

commit c9e6c55ae73ade1bdd5e4c91b628516508ea7ab9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jul 31 11:05:11 2019 +0200

    CAMEL-13806: Deprecate Camel-EJB
---
 components/camel-ejb/pom.xml                          | 2 +-
 components/camel-ejb/src/main/docs/ejb-component.adoc | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/components/camel-ejb/pom.xml b/components/camel-ejb/pom.xml
index 698c965..c66641b 100644
--- a/components/camel-ejb/pom.xml
+++ b/components/camel-ejb/pom.xml
@@ -28,7 +28,7 @@
 
     <artifactId>camel-ejb</artifactId>
     <packaging>jar</packaging>
-    <name>Camel :: EJB</name>
+    <name>Camel :: EJB (deprecated)</name>
     <description>Camel EJB support</description>
 
     <properties>
diff --git a/components/camel-ejb/src/main/docs/ejb-component.adoc b/components/camel-ejb/src/main/docs/ejb-component.adoc
index a734448..5f53de2 100644
--- a/components/camel-ejb/src/main/docs/ejb-component.adoc
+++ b/components/camel-ejb/src/main/docs/ejb-component.adoc
@@ -1,7 +1,8 @@
-[[ejb-component]]
-== EJB Component
+== EJB Component (deprecated)
 
 *Available as of Camel version 2.4*
+*Available as of Camel version 2.4*
+
 
 The *ejb:* component binds EJBs to Camel message exchanges.
 
@@ -220,4 +221,4 @@ Before we are ready to use <<ejb-component,EJB>> in the Camel routes:
 * Getting Started
 * <<bean-component,Bean>>
 * Bean Binding
-* Bean Integration
+* Bean Integration
\ No newline at end of file


[camel] 03/03: Regen

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

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

commit 7729808480cc360b032fadb085e69ff49dc1bffc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jul 31 11:57:04 2019 +0200

    Regen
---
 docs/components/modules/ROOT/nav.adoc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index c796bc8..4148ec9 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -39,25 +39,25 @@
 * xref:bam-example.adoc[Business Activity Monitor (BAM) Example]
 * xref:bam.adoc[Business Activity Monitoring]
 * xref:barcode-dataformat.adoc[Barcode DataFormat]
+* xref:base64-dataformat.adoc[Base64 DataFormat]
 * xref:bean-validator-component.adoc[Bean Validator Component]
 * xref:beanio-dataformat.adoc[BeanIO DataFormat]
-* xref:base64-dataformat.adoc[Base64 DataFormat]
 * xref:beanstalk-component.adoc[Beanstalk Component]
 * xref:bindy-dataformat.adoc[Bindy DataFormat]
-* xref:bonita-component.adoc[Bonita Component]
 * xref:blueprint.adoc[Using OSGi blueprint with Camel]
+* xref:bonita-component.adoc[Bonita Component]
 * xref:boon-dataformat.adoc[Boon DataFormat]
 * xref:braintree-component.adoc[Braintree Component]
 * xref:cache-component.adoc[EHCache Component (deprecated)]
 * xref:caffeine-cache-component.adoc[Caffeine Cache Component]
 * xref:caffeine-loadcache-component.adoc[Caffeine LoadCache Component]
 * xref:cql-component.adoc[Cassandra CQL Component]
+* xref:cdi.adoc[Camel CDI]
 * xref:castor-dataformat.adoc[Castor DataFormat (deprecated)]
 * xref:chronicle-engine-component.adoc[Chronicle Engine Component (deprecated)]
-* xref:cdi.adoc[Camel CDI]
 * xref:chunk-component.adoc[Chunk Component]
-* xref:cmis-component.adoc[CMIS Component]
 * xref:coap-component.adoc[CoAP Component]
+* xref:cmis-component.adoc[CMIS Component]
 * xref:cometd-component.adoc[CometD Component]
 * xref:consul-component.adoc[Consul Component]
 * xref:context-component.adoc[Camel Context Component (deprecated)]
@@ -93,8 +93,8 @@
 * xref:json-fastjson-dataformat.adoc[JSon Fastjson DataFormat]
 * xref:flatpack-component.adoc[Flatpack Component]
 * xref:flatpack-dataformat.adoc[Flatpack DataFormat]
-* xref:flink-component.adoc[Apache Flink Component]
 * xref:fop-component.adoc[FOP Component]
+* xref:flink-component.adoc[Apache Flink Component]
 * xref:freemarker-component.adoc[Freemarker Component]
 * xref:ftp-component.adoc[FTP Component]
 * xref:ftps-component.adoc[FTPS Component]