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 380a95bb26bb2faf8995aa1a30971dbfc897bcd1 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Jun 24 06:45:33 2020 +0200 Regen and Sync Properties --- camel-dependencies/pom.xml | 2 +- .../camel/catalog/archetypes/archetype-catalog.xml | 36 ++++----- .../apache/camel/catalog/docs/aggregate-eip.adoc | 6 +- .../camel/catalog/docs/circuitBreaker-eip.adoc | 2 +- .../apache/camel/catalog/docs/djl-component.adoc | 10 +++ .../docs/faultToleranceConfiguration-eip.adoc | 4 +- .../catalog/docs/hystrixConfiguration-eip.adoc | 5 +- .../apache/camel/catalog/docs/multicast-eip.adoc | 2 +- .../apache/camel/catalog/docs/pollEnrich-eip.adoc | 2 +- .../camel/catalog/docs/recipientList-eip.adoc | 2 +- .../org/apache/camel/catalog/docs/saga-eip.adoc | 5 +- .../org/apache/camel/catalog/docs/sample-eip.adoc | 4 +- .../org/apache/camel/catalog/docs/split-eip.adoc | 2 +- .../apache/camel/catalog/docs/spring-security.adoc | 87 ++++++++++++++++------ .../apache/camel/catalog/docs/throttle-eip.adoc | 2 +- ...ionsManagerEndpointConfigurationConfigurer.java | 4 +- ...entsManagerEndpointConfigurationConfigurer.java | 4 +- ...LogsManagerEndpointConfigurationConfigurer.java | 4 +- ...entsManagerEndpointConfigurationConfigurer.java | 4 +- ...ilesManagerEndpointConfigurationConfigurer.java | 4 +- ...dersManagerEndpointConfigurationConfigurer.java | 4 +- ...oupsManagerEndpointConfigurationConfigurer.java | 4 +- ...archManagerEndpointConfigurationConfigurer.java | 4 +- ...asksManagerEndpointConfigurationConfigurer.java | 4 +- ...sersManagerEndpointConfigurationConfigurer.java | 4 +- 25 files changed, 132 insertions(+), 79 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 93a501b..dc640c9 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -70,7 +70,7 @@ <awaitility-version>4.0.3</awaitility-version> <aws-java-sdk-swf-libs>1.11.22</aws-java-sdk-swf-libs> <aws-java-sdk-version>1.11.714</aws-java-sdk-version> - <aws-java-sdk2-version>2.13.42</aws-java-sdk2-version> + <aws-java-sdk2-version>2.13.43</aws-java-sdk2-version> <aws-xray-version>2.5.0</aws-xray-version> <axiom-version>1.2.14</axiom-version> <azure-storage-blob-java-sdk12-version>12.6.1</azure-storage-blob-java-sdk12-version> diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/archetypes/archetype-catalog.xml b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/archetypes/archetype-catalog.xml index eb476a6..1c960fa 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/archetypes/archetype-catalog.xml +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/archetypes/archetype-catalog.xml @@ -3,57 +3,57 @@ <archetypes> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-component</artifactId> + <artifactId>camel-archetype-api-component</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel component.</description> + <description>Creates a new Camel component that wraps one or more API proxies.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-main</artifactId> + <artifactId>camel-archetype-blueprint</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel project using standalone Camel Main.</description> + <description>Creates a new Camel project with OSGi blueprint support. Ready to be deployed in OSGi.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-java</artifactId> + <artifactId>camel-archetype-cdi</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel project using Java DSL.</description> + <description>Creates a new Camel project using CDI.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-spring-boot</artifactId> + <artifactId>camel-archetype-component</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel project using Spring Boot.</description> + <description>Creates a new Camel component.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-cdi</artifactId> + <artifactId>camel-archetype-dataformat</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel project using CDI.</description> + <description>Creates a new Camel data format.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-blueprint</artifactId> + <artifactId>camel-archetype-java</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel project with OSGi blueprint support. Ready to be deployed in OSGi.</description> + <description>Creates a new Camel project using Java DSL.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-api-component</artifactId> + <artifactId>camel-archetype-spring-boot</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel component that wraps one or more API proxies.</description> + <description>Creates a new Camel project using Spring Boot.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-dataformat</artifactId> + <artifactId>camel-archetype-spring</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel data format.</description> + <description>Creates a new Camel project with added Spring DSL support.</description> </archetype> <archetype> <groupId>org.apache.camel.archetypes</groupId> - <artifactId>camel-archetype-spring</artifactId> + <artifactId>camel-archetype-main</artifactId> <version>3.5.0-SNAPSHOT</version> - <description>Creates a new Camel project with added Spring DSL support.</description> + <description>Creates a new Camel project using standalone Camel Main.</description> </archetype> </archetypes> </archetype-catalog> diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc index a27492a..da31cb8 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aggregate-eip.adoc @@ -40,9 +40,9 @@ The Aggregate EIP supports 27 options which are listed below: | *strategyMethodName* | This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy. | | String | *strategyMethodAllowNull* | If this option is false then the aggregate method is not used for the very first aggregation. If this option is true then null values is used as the oldExchange (at the very first aggregation), when using POJOs as the AggregationStrategy. | false | Boolean | *completionSize* | Number of messages aggregated before the aggregation is complete. This option can be set as either a fixed value or using an Expression which allows you to evaluate a size dynamically - will use Integer as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. | | Integer -| *completionInterval* | A repeating period in millis by which the aggregator will complete all current aggregated exchanges. Camel has a background task which is triggered every period. You cannot use this option together with completionTimeout, only one of them can be used. | | Long -| *completionTimeout* | Time in millis that an aggregated exchange should be inactive before its complete (timeout). This option can be set as either a fixed value or using an Expression which allows you to evaluate a timeout dynamically - will use Long as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. You cannot use this option together with completionInterval, only one of the two can be used. By default the timeout checker run [...] -| *completionTimeoutChecker Interval* | Interval in millis that is used by the background task that checks for timeouts ( org.apache.camel.TimeoutMap ). By default the timeout checker runs every second. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals. | 1000 | Long +| *completionInterval* | A repeating period in millis by which the aggregator will complete all current aggregated exchanges. Camel has a background task which is triggered every period. You cannot use this option together with completionTimeout, only one of them can be used. | | String +| *completionTimeout* | Time in millis that an aggregated exchange should be inactive before its complete (timeout). This option can be set as either a fixed value or using an Expression which allows you to evaluate a timeout dynamically - will use Long as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. You cannot use this option together with completionInterval, only one of the two can be used. By default the timeout checker run [...] +| *completionTimeoutChecker Interval* | Interval in millis that is used by the background task that checks for timeouts ( org.apache.camel.TimeoutMap ). By default the timeout checker runs every second. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals. | 1s | String | *completionFromBatchConsumer* | Enables the batch completion mode where we aggregate from a org.apache.camel.BatchConsumer and aggregate the total number of exchanges the org.apache.camel.BatchConsumer has reported as total by checking the exchange property org.apache.camel.Exchange#BATCH_COMPLETE when its complete. This option cannot be used together with discardOnAggregationFailure. | false | Boolean | *completionOnNewCorrelation Group* | Enables completion on all previous groups when a new incoming correlation group. This can for example be used to complete groups with same correlation keys when they are in consecutive order. Notice when this is enabled then only 1 correlation group can be in progress as when a new correlation group starts, then the previous groups is forced completed. | false | Boolean | *eagerCheckCompletion* | Use eager completion checking which means that the completionPredicate will use the incoming Exchange. As opposed to without eager completion checking the completionPredicate will use the aggregated Exchange. | false | Boolean diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/circuitBreaker-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/circuitBreaker-eip.adoc index ba55f49..95e8fc0 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/circuitBreaker-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/circuitBreaker-eip.adoc @@ -29,7 +29,7 @@ The Circuit Breaker EIP supports 4 options which are listed below: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *hystrixConfiguration* | *Deprecated:* Configures the circuit breaker to use Hystrix with the given configuration. | | HystrixConfigurationDefinition +| *hystrixConfiguration* | Configures the circuit breaker to use Hystrix with the given configuration. | | HystrixConfigurationDefinition | *resilience4jConfiguration* | Configures the circuit breaker to use Resilience4j with the given configuration. | | Resilience4jConfigurationDefinition | *faultToleranceConfiguration* | Configures the circuit breaker to use MicroProfile Fault Tolerance with the given configuration. | | FaultToleranceConfigurationDefinition | *configurationRef* | Refers to a circuit breaker configuration (such as hystrix, resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP. | | String diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc index 118f63b..463e76a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc @@ -29,6 +29,16 @@ following dependency to their `pom.xml`: </dependency> ---- +== URI format + +[source,text] +---- +djl:application +---- + +You can append query options to the URI in the following format, +`?option=value&option=value&...` + // component options: START The Deep Java Library component supports 2 options, which are listed below. diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/faultToleranceConfiguration-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/faultToleranceConfiguration-eip.adoc index 9d346cb..11e52c3 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/faultToleranceConfiguration-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/faultToleranceConfiguration-eip.adoc @@ -13,12 +13,12 @@ The Fault Tolerance Configuration EIP supports 13 options which are listed below |=== | Name | Description | Default | Type | *circuitBreakerRef* | Refers to an existing io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker instance to lookup and use from the registry. When using this, then any other circuit breaker options are not in use. | | String -| *delay* | Control how long the circuit breaker stays open. The value are in seconds and the default is 5 seconds. | 5 | Long +| *delay* | Control how long the circuit breaker stays open. The value are in seconds and the default is 5 seconds. | 5s | String | *successThreshold* | Controls the number of trial calls which are allowed when the circuit breaker is half-open | 1 | Integer | *requestVolumeThreshold* | Controls the size of the rolling window used when the circuit breaker is closed | 20 | Integer | *failureRatio* | Configures the failure rate threshold in percentage. If the failure rate is equal or greater than the threshold the CircuitBreaker transitions to open and starts short-circuiting calls. The threshold must be greater than 0 and not greater than 100. Default value is 50 percentage. | 50 | Integer | *timeoutEnabled* | Whether timeout is enabled or not on the circuit breaker. Default is false. | false | Boolean -| *timeoutDuration* | Configures the thread execution timeout. Default value is 1 second. | 1000 | Long +| *timeoutDuration* | Configures the thread execution timeout. Default value is 1 second. | 1s | String | *timeoutPoolSize* | Configures the pool size of the thread pool when timeout is enabled. Default value is 10. | 10 | Integer | *timeoutScheduledExecutor ServiceRef* | References to a custom thread pool to use when timeout is enabled | | String | *bulkheadEnabled* | Whether bulkhead is enabled or not on the circuit breaker. Default is false. | false | Boolean diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hystrixConfiguration-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hystrixConfiguration-eip.adoc index a8facd8..99b094d 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hystrixConfiguration-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hystrixConfiguration-eip.adoc @@ -1,9 +1,10 @@ [[hystrixConfiguration-eip]] -= Hystrix Configuration EIP += Hystrix Configuration EIP (deprecated) :docTitle: Hystrix Configuration :description: Hystrix Circuit Breaker EIP configuration :since: -:supportLevel: Stable +:supportLevel: Stable-deprecated +:deprecated: *deprecated* // eip options: START diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/multicast-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/multicast-eip.adoc index a608a20..132df0e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/multicast-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/multicast-eip.adoc @@ -25,7 +25,7 @@ The Multicast EIP supports 12 options which are listed below: | *executorServiceRef* | Refers to a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well. | | String | *streaming* | If enabled then Camel will process replies out-of-order, eg in the order they come back. If disabled, Camel will process replies in the same order as defined by the multicast. | false | Boolean | *stopOnException* | Will now stop further processing if an exception or failure occurred during processing of an org.apache.camel.Exchange and the caused exception will be thrown. Will also stop if processing the exchange failed (has a fault message) or an exception was thrown and handled by the error handler (such as using onException). In all situations the multicast will stop further processing. This is the same behavior as in pipeline, which is used by the routing engine. The defau [...] -| *timeout* | Sets a total timeout specified in millis, when using parallel processing. If the Multicast hasn't been able to send and process all replies within the given timeframe, then the timeout triggers and the Multicast breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut down in [...] +| *timeout* | Sets a total timeout specified in millis, when using parallel processing. If the Multicast hasn't been able to send and process all replies within the given timeframe, then the timeout triggers and the Multicast breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut down in [...] | *onPrepareRef* | Uses the Processor when preparing the org.apache.camel.Exchange to be send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send. | | String | *shareUnitOfWork* | Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Multicast will by default not share unit of work between the parent exchange and each multicasted exchange. This means each sub exchange has its own individual unit of work. | false | Boolean | *parallelAggregate* | If enabled then the aggregate method on AggregationStrategy can be called concurrently. Notice that this would require the implementation of AggregationStrategy to be implemented as thread-safe. By default this is false meaning that Camel synchronizes the call to the aggregate method. Though in some use-cases this can be used to archive higher performance when the AggregationStrategy is implemented as thread-safe. | false | Boolean diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/pollEnrich-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/pollEnrich-eip.adoc index 9c8451e..5c1178c 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/pollEnrich-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/pollEnrich-eip.adoc @@ -43,7 +43,7 @@ The Poll Enrich EIP supports 7 options which are listed below: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *timeout* | Timeout in millis when polling from the external service. The timeout has influence about the poll enrich behavior. It basically operations in three different modes: negative value - Waits until a message is available and then returns it. Warning that this method could block indefinitely if no messages are available. 0 - Attempts to receive a message exchange immediately without waiting and returning null if a message exchange is not available yet. positive value - Attempts [...] +| *timeout* | Timeout in millis when polling from the external service. The timeout has influence about the poll enrich behavior. It basically operations in three different modes: negative value - Waits until a message is available and then returns it. Warning that this method could block indefinitely if no messages are available. 0 - Attempts to receive a message exchange immediately without waiting and returning null if a message exchange is not available yet. positive value - Attempts [...] | *strategyRef* | Refers to an AggregationStrategy to be used to merge the reply from the external service, into a single outgoing message. By default Camel will use the reply from the external service as outgoing message. | | String | *strategyMethodName* | This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy. | | String | *strategyMethodAllowNull* | If this option is false then the aggregate method is not used if there was no data to enrich. If this option is true then null values is used as the oldExchange (when no data to enrich), when using POJOs as the AggregationStrategy. | false | Boolean diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/recipientList-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/recipientList-eip.adoc index 3b9034e..87079a0 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/recipientList-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/recipientList-eip.adoc @@ -28,7 +28,7 @@ The Recipient List EIP supports 15 options which are listed below: | *stopOnException* | Will now stop further processing if an exception or failure occurred during processing of an org.apache.camel.Exchange and the caused exception will be thrown. Will also stop if processing the exchange failed (has a fault message) or an exception was thrown and handled by the error handler (such as using onException). In all situations the recipient list will stop further processing. This is the same behavior as in pipeline, which is used by the routing engine. The [...] | *ignoreInvalidEndpoints* | Ignore the invalidate endpoint exception when try to create a producer with that endpoint | false | Boolean | *streaming* | If enabled then Camel will process replies out-of-order, eg in the order they come back. If disabled, Camel will process replies in the same order as defined by the recipient list. | false | Boolean -| *timeout* | Sets a total timeout specified in millis, when using parallel processing. If the Recipient List hasn't been able to send and process all replies within the given timeframe, then the timeout triggers and the Recipient List breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shu [...] +| *timeout* | Sets a total timeout specified in millis, when using parallel processing. If the Recipient List hasn't been able to send and process all replies within the given timeframe, then the timeout triggers and the Recipient List breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shu [...] | *onPrepareRef* | Uses the Processor when preparing the org.apache.camel.Exchange to be send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send. | | String | *shareUnitOfWork* | Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Recipient List will by default not share unit of work between the parent exchange and each recipient exchange. This means each sub exchange has its own individual unit of work. | false | Boolean | *cacheSize* | Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this recipient list, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped an [...] diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/saga-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/saga-eip.adoc index a5491fa..e16b875 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/saga-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/saga-eip.adoc @@ -25,14 +25,15 @@ with the purpose of restoring the status that was present before the flow execut Compensating actions can be declared in Camel routes using the Java or XML DSL and will be invoked by Camel only when needed (if the saga is cancelled due to an error). // eip options: START -The Saga EIP supports 7 options which are listed below: +The Saga EIP supports 8 options which are listed below: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type | *propagation* | Set the Saga propagation mode (REQUIRED, REQUIRES_NEW, MANDATORY, SUPPORTS, NOT_SUPPORTED, NEVER). | REQUIRED | SagaPropagation | *completionMode* | Determine how the saga should be considered complete. When set to AUTO, the saga is completed when the exchange that initiates the saga is processed successfully, or compensated when it completes exceptionally. When set to MANUAL, the user must complete or compensate the saga using the saga:complete or saga:compensate endpoints. | AUTO | SagaCompletionMode -| *timeoutInMilliseconds* | Set the maximum amount of time for the Saga. After the timeout is expired, the saga will be compensated automatically (unless a different decision has been taken in the meantime). | | Long +| *timeoutInMilliseconds* | *Deprecated* Set the maximum amount of time for the Saga. After the timeout is expired, the saga will be compensated automatically (unless a different decision has been taken in the meantime). Deprecation note: Use timeout instead | | Long +| *timeout* | Set the maximum amount of time for the Saga. After the timeout is expired, the saga will be compensated automatically (unless a different decision has been taken in the meantime). | | String | *compensation* | The compensation endpoint URI that must be called to compensate all changes done in the route. The route corresponding to the compensation URI must perform compensation and complete without error. If errors occur during compensation, the saga service may call again the compensation URI to retry. | | SagaActionUriDefinition | *completion* | The completion endpoint URI that will be called when the Saga is completed successfully. The route corresponding to the completion URI must perform completion tasks and terminate without error. If errors occur during completion, the saga service may call again the completion URI to retry. | | SagaActionUriDefinition | *option* | Allows to save properties of the current exchange in order to re-use them in a compensation/completion callback route. Options are usually helpful e.g. to store and retrieve identifiers of objects that should be deleted in compensating actions. Option values will be transformed into input headers of the compensation/completion exchange. | | List diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sample-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sample-eip.adoc index 097fa51..d8f7e76 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sample-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sample-eip.adoc @@ -16,9 +16,9 @@ The Sample EIP supports 3 options which are listed below: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *samplePeriod* | Sets the sample period during which only a single Exchange will pass through. | 1 | Long +| *samplePeriod* | Sets the sample period during which only a single Exchange will pass through. | 1s | String | *messageFrequency* | Sets the sample message count which only a single Exchange will pass through after this many received. | | Long -| *units* | Sets the time units for the sample period, defaulting to seconds. | SECONDS | TimeUnit +| *units* | *Deprecated* Sets the time units for the sample period, defaulting to seconds. Deprecation note: Use samplePeriod extended syntax instead | SECONDS | TimeUnit |=== // eip options: END diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/split-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/split-eip.adoc index ebd803e..52848b2 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/split-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/split-eip.adoc @@ -25,7 +25,7 @@ The Split EIP supports 12 options which are listed below: | *executorServiceRef* | Refers to a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well. | | String | *streaming* | When in streaming mode, then the splitter splits the original message on-demand, and each splitted message is processed one by one. This reduces memory usage as the splitter do not split all the messages first, but then we do not know the total size, and therefore the org.apache.camel.Exchange#SPLIT_SIZE is empty. In non-streaming mode (default) the splitter will split each message first, to know the total size, and then process each message one by one. This requires to k [...] | *stopOnException* | Will now stop further processing if an exception or failure occurred during processing of an org.apache.camel.Exchange and the caused exception will be thrown. Will also stop if processing the exchange failed (has a fault message) or an exception was thrown and handled by the error handler (such as using onException). In all situations the splitter will stop further processing. This is the same behavior as in pipeline, which is used by the routing engine. The defaul [...] -| *timeout* | Sets a total timeout specified in millis, when using parallel processing. If the Splitter hasn't been able to split and process all the sub messages within the given timeframe, then the timeout triggers and the Splitter breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut [...] +| *timeout* | Sets a total timeout specified in millis, when using parallel processing. If the Splitter hasn't been able to split and process all the sub messages within the given timeframe, then the timeout triggers and the Splitter breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut [...] | *onPrepareRef* | Uses the Processor when preparing the org.apache.camel.Exchange to be send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send. | | String | *shareUnitOfWork* | Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Splitter will by default not share unit of work between the parent exchange and each splitted exchange. This means each splitted exchange has its own individual unit of work. | false | Boolean | *parallelAggregate* | If enabled then the aggregate method on AggregationStrategy can be called concurrently. Notice that this would require the implementation of AggregationStrategy to be implemented as thread-safe. By default this is false meaning that Camel synchronizes the call to the aggregate method. Though in some use-cases this can be used to archive higher performance when the AggregationStrategy is implemented as thread-safe. | false | Boolean diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/spring-security.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/spring-security.adoc index 63c5817..d939fad 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/spring-security.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/spring-security.adoc @@ -74,10 +74,70 @@ are required to use this component. Here is an example of how to configure these objects in Spring XML using the Spring Security namespace: +[source,xml] +---- +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:spring-security="http://www.springframework.org/schema/security" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd"> + + <bean id="accessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased"> + <property name="allowIfAllAbstainDecisions" value="true"/> + <property name="decisionVoters"> + <list> + <bean class="org.springframework.security.access.vote.RoleVoter"/> + </list> + </property> + </bean> + + <spring-security:authentication-manager alias="authenticationManager"> + <spring-security:authentication-provider user-service-ref="userDetailsService"/> + </spring-security:authentication-manager> + + <spring-security:user-service id="userDetailsService"> + <spring-security:user name="jim" password="jimspassword" authorities="ROLE_USER, ROLE_ADMIN"/> + <spring-security:user name="bob" password="bobspassword" authorities="ROLE_USER"/> + </spring-security:user-service> + +</beans> +---- + Now that the underlying security objects are set up, we can use them to configure an authorization policy and use that policy to control access to a route: +[source,xml] +---- +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:spring-security="http://www.springframework.org/schema/security" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd + http://camel.apache.org/schema/spring-security http://camel.apache.org/schema/spring-security/camel-spring-security.xsd + http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd"> + + <!-- import the Spring security configuration --> + <import resource= "classpath:org/apache/camel/component/spring/security/commonSecurity.xml"/> + + <authorizationPolicy id="admin" access="ROLE_ADMIN" + authenticationManager="authenticationManager" + accessDecisionManager="accessDecisionManager" + xmlns="http://camel.apache.org/schema/spring-security"/> + + <camelContext id="myCamelContext" xmlns="http://camel.apache.org/schema/spring"> + <route> + <from uri="direct:start"/> + <!-- The exchange should be authenticated with the role --> + <!-- of ADMIN before it is send to mock:endpoint --> + <policy ref="admin"> + <to uri="mock:end"/> + </policy> + </route> + </camelContext> +</beans> +---- + In this example, the endpoint `mock:end` will not be executed unless a Spring Security `Authentication` object that has been or can be authenticated and contains the `ROLE_ADMIN` authority can be located by @@ -97,7 +157,7 @@ are collected, they need to be placed in the In message or the Security] component can access them: [source,java] ----------------------------------------------------------------------------------------------------------------------- +---- import javax.security.auth.Subject; import org.apache.camel.*; import org.apache.commons.codec.binary.Base64; @@ -125,7 +185,7 @@ public class MyAuthService implements Processor { // SecurityContextHolder.getContext().setAuthentication(authToken); } } ----------------------------------------------------------------------------------------------------------------------- +---- The `SpringSecurityAuthorizationPolicy` will automatically authenticate the `Authentication` object if necessary. @@ -165,7 +225,7 @@ policy which threw the exception so you can handle errors based on the policy as well as the type of exception: [source,xml] ------------------------------------------------------------------------------------------- +---- <onException> <exception>org.springframework.security.authentication.AccessDeniedException</exception> <choice> @@ -183,24 +243,5 @@ policy as well as the type of exception: </when> </choice> </onException> ------------------------------------------------------------------------------------------- +---- -[[SpringSecurity-Dependencies]] -== Dependencies - -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-spring-security</artifactId> - <version>x.y.z</version> -</dependency> -------------------------------------------------- - -This dependency will also pull in -`org.springframework.security:spring-security-core:3.0.3.RELEASE` and -`org.springframework.security:spring-security-config:3.0.3.RELEASE`. diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/throttle-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/throttle-eip.adoc index c35a9a3..ea40ca3 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/throttle-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/throttle-eip.adoc @@ -17,7 +17,7 @@ The Throttle EIP supports 6 options which are listed below: | Name | Description | Default | Type | *correlationExpression* | The expression used to calculate the correlation key to use for throttle grouping. The Exchange which has the same correlation key is throttled together. | | ExpressionSubElementDefinition | *executorServiceRef* | To use a custom thread pool (ScheduledExecutorService) by the throttler. | | String -| *timePeriodMillis* | Sets the time period during which the maximum request count is valid for | 1000 | Long +| *timePeriodMillis* | Sets the time period during which the maximum request count is valid for | 1000 | String | *asyncDelayed* | Enables asynchronous delay which means the thread will not block while delaying. | false | Boolean | *callerRunsWhenRejected* | Whether or not the caller should run the task when it was rejected by the thread pool. Is by default true | true | Boolean | *rejectExecution* | Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit Is by default false | false | Boolean diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java index 9369e00..9bbac1c 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCollaborationsManagerEndpointConfigurationConfigurer.java @@ -36,7 +36,7 @@ public class BoxCollaborationsManagerEndpointConfigurationConfigurer extends org case "email": case "Email": target.setEmail(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "folderid": @@ -80,7 +80,7 @@ public class BoxCollaborationsManagerEndpointConfigurationConfigurer extends org answer.put("CollaborationId", java.lang.String.class); answer.put("Collaborator", com.box.sdk.BoxCollaborator.class); answer.put("Email", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("FolderId", java.lang.String.class); answer.put("HttpParams", java.util.Map.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java index d593098..813f6c6 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxCommentsManagerEndpointConfigurationConfigurer.java @@ -32,7 +32,7 @@ public class BoxCommentsManagerEndpointConfigurationConfigurer extends org.apach case "commentid": case "CommentId": target.setCommentId(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "fileid": @@ -72,7 +72,7 @@ public class BoxCommentsManagerEndpointConfigurationConfigurer extends org.apach answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); answer.put("CommentId", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("FileId", java.lang.String.class); answer.put("HttpParams", java.util.Map.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java index eb224a6..6b952b9 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventLogsManagerEndpointConfigurationConfigurer.java @@ -34,7 +34,7 @@ public class BoxEventLogsManagerEndpointConfigurationConfigurer extends org.apac case "clientsecret": case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "httpparams": @@ -75,7 +75,7 @@ public class BoxEventLogsManagerEndpointConfigurationConfigurer extends org.apac answer.put("Before", java.util.Date.class); answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("HttpParams", java.util.Map.class); answer.put("MaxCacheEntries", int.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java index e5550b8..1f6142d 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEventsManagerEndpointConfigurationConfigurer.java @@ -30,7 +30,7 @@ public class BoxEventsManagerEndpointConfigurationConfigurer extends org.apache. case "clientsecret": case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "httpparams": @@ -67,7 +67,7 @@ public class BoxEventsManagerEndpointConfigurationConfigurer extends org.apache. answer.put("AuthenticationType", java.lang.String.class); answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("HttpParams", java.util.Map.class); answer.put("MaxCacheEntries", int.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java index e7ea403..adead79 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFilesManagerEndpointConfigurationConfigurer.java @@ -40,7 +40,7 @@ public class BoxFilesManagerEndpointConfigurationConfigurer extends org.apache.c case "destinationfolderid": case "DestinationFolderId": target.setDestinationFolderId(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "fields": @@ -130,7 +130,7 @@ public class BoxFilesManagerEndpointConfigurationConfigurer extends org.apache.c answer.put("Content", java.io.InputStream.class); answer.put("Created", java.util.Date.class); answer.put("DestinationFolderId", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("Fields", java.lang.String[].class); answer.put("FileContent", java.io.InputStream.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java index cc0d939..08823ff 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxFoldersManagerEndpointConfigurationConfigurer.java @@ -34,7 +34,7 @@ public class BoxFoldersManagerEndpointConfigurationConfigurer extends org.apache case "destinationfolderid": case "DestinationFolderId": target.setDestinationFolderId(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "fields": @@ -95,7 +95,7 @@ public class BoxFoldersManagerEndpointConfigurationConfigurer extends org.apache answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); answer.put("DestinationFolderId", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("Fields", java.lang.String[].class); answer.put("FolderId", java.lang.String.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java index 62aa318..6236bb6 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxGroupsManagerEndpointConfigurationConfigurer.java @@ -32,7 +32,7 @@ public class BoxGroupsManagerEndpointConfigurationConfigurer extends org.apache. case "description": case "Description": target.setDescription(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "externalsyncidentifier": @@ -88,7 +88,7 @@ public class BoxGroupsManagerEndpointConfigurationConfigurer extends org.apache. answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); answer.put("Description", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("ExternalSyncIdentifier", java.lang.String.class); answer.put("GroupId", java.lang.String.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java index fcc0868..b4bb093 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxSearchManagerEndpointConfigurationConfigurer.java @@ -30,7 +30,7 @@ public class BoxSearchManagerEndpointConfigurationConfigurer extends org.apache. case "clientsecret": case "ClientSecret": target.setClientSecret(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "folderid": @@ -69,7 +69,7 @@ public class BoxSearchManagerEndpointConfigurationConfigurer extends org.apache. answer.put("AuthenticationType", java.lang.String.class); answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("FolderId", java.lang.String.class); answer.put("HttpParams", java.util.Map.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java index a278909..4249cec 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxTasksManagerEndpointConfigurationConfigurer.java @@ -36,7 +36,7 @@ public class BoxTasksManagerEndpointConfigurationConfigurer extends org.apache.c case "dueat": case "DueAt": target.setDueAt(property(camelContext, java.util.Date.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "fileid": @@ -84,7 +84,7 @@ public class BoxTasksManagerEndpointConfigurationConfigurer extends org.apache.c answer.put("ClientId", java.lang.String.class); answer.put("ClientSecret", java.lang.String.class); answer.put("DueAt", java.util.Date.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("FileId", java.lang.String.class); answer.put("HttpParams", java.util.Map.class); diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java index 60390ae..14b3039 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxUsersManagerEndpointConfigurationConfigurer.java @@ -34,7 +34,7 @@ public class BoxUsersManagerEndpointConfigurationConfigurer extends org.apache.c case "emailaliasid": case "EmailAliasId": target.setEmailAliasId(property(camelContext, java.lang.String.class, value)); return true; case "encryptionalgorithm": - case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, com.box.sdk.EncryptionAlgorithm.class, value)); return true; + case "EncryptionAlgorithm": target.setEncryptionAlgorithm(property(camelContext, java.lang.String.class, value)); return true; case "enterpriseid": case "EnterpriseId": target.setEnterpriseId(property(camelContext, java.lang.String.class, value)); return true; case "fields": @@ -89,7 +89,7 @@ public class BoxUsersManagerEndpointConfigurationConfigurer extends org.apache.c answer.put("ClientSecret", java.lang.String.class); answer.put("Email", java.lang.String.class); answer.put("EmailAliasId", java.lang.String.class); - answer.put("EncryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + answer.put("EncryptionAlgorithm", java.lang.String.class); answer.put("EnterpriseId", java.lang.String.class); answer.put("Fields", java.lang.String[].class); answer.put("FilterTerm", java.lang.String.class);