Repository: camel Updated Branches: refs/heads/master 838e6a627 -> 4c1e05f80
Keep EIP doc up to date using auto generation Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4c1e05f8 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4c1e05f8 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4c1e05f8 Branch: refs/heads/master Commit: 4c1e05f80e1ef0c33d1a30be4c366981cab87a88 Parents: 838e6a6 Author: Claus Ibsen <davscl...@apache.org> Authored: Tue May 23 13:00:47 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue May 23 13:00:47 2017 +0200 ---------------------------------------------------------------------- .../src/main/docs/eips/serviceCall-eip.adoc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/4c1e05f8/camel-core/src/main/docs/eips/serviceCall-eip.adoc ---------------------------------------------------------------------- diff --git a/camel-core/src/main/docs/eips/serviceCall-eip.adoc b/camel-core/src/main/docs/eips/serviceCall-eip.adoc index 0925c6b..1584d64 100644 --- a/camel-core/src/main/docs/eips/serviceCall-eip.adoc +++ b/camel-core/src/main/docs/eips/serviceCall-eip.adoc @@ -89,29 +89,30 @@ from("direct:start") .simple("undertow:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello"); ---- -### Configuring Service Call +### Options +// eip options: START +The Service Call EIP supports 14 options which are listed below: -The Service Call EIP can be configured through the following options: [width="100%",cols="3,1m,6",options="header"] |======================================================================= | Name | Java Type | Description | name | String | *Required* Sets the name of the service to use -| uri | String | The uri of the endpoint to send to. +| uri | String | The uri of the endpoint to send to. The uri can be dynamic computed using the org.apache.camel.language.simple.SimpleLanguage expression. | component | String | The component to use. | pattern | ExchangePattern | Sets the optional ExchangePattern used to invoke this endpoint | configurationRef | String | Refers to a ServiceCall configuration to use | serviceDiscoveryRef | String | Sets a reference to a custom ServiceDiscovery to use. -| serviceDiscovery | ServiceDiscovery | Sets the ServiceDiscovery to use ([.underline]_Java DSL only_). | serviceFilterRef | String | Sets a reference to a custom ServiceFilter to use. -| serviceFilter | ServiceFilter | Sets the ServiceFilter to use ([.underline]_Java DSL only_). | serviceChooserRef | String | Sets a reference to a custom ServiceChooser to use. -| serviceChooser | ServiceChooser | Sets the ServiceChooser to use ([.underline]_Java DSL only_). -| loadBalancerRef | String | Sets a reference to a custom LoadBalancer to use. -| loadBalancer | LoadBalancer | Sets the LoadBalancer to use ([.underline]_Java DSL only_). +| loadBalancerRef | String | Sets a reference to a custom ServiceLoadBalancer to use. | expressionRef | String | Set a reference to a custom Expression to use. -| expression | Expression | Set the Expression to use to compute the Camel URI ([.underline]_Java DSL only_). +| serviceDiscoveryConfiguration | ServiceCallServiceDiscoveryConfiguration | *Required* Configures the ServiceDiscovery using the given configuration. +| serviceFilterConfiguration | ServiceCallServiceFilterConfiguration | *Required* Configures the ServiceFilter using the given configuration. +| loadBalancerConfiguration | ServiceCallServiceLoadBalancerConfiguration | *Required* Configures the LoadBalancer using the given configuration. +| expressionConfiguration | ServiceCallExpressionConfiguration | *Required* Configures the Expression using the given configuration. |======================================================================= +// eip options: END In addition to ref/binding configuration style you can leverage specific configuration DSL to customize specific options: