This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch adoc-amqp in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7d6f5df2273ddb72ed2b31d88e7e832d51bf81c5 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Feb 19 13:03:03 2018 +0100 AMQP Fix docs --- components/camel-amqp/src/main/docs/amqp-component.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/camel-amqp/src/main/docs/amqp-component.adoc b/components/camel-amqp/src/main/docs/amqp-component.adoc index e222b1b..4331235 100644 --- a/components/camel-amqp/src/main/docs/amqp-component.adoc +++ b/components/camel-amqp/src/main/docs/amqp-component.adoc @@ -323,12 +323,12 @@ Likewise, you can also use CDI producer methods when using Camel-CDI *AMQP connection details auto-configuration for CDI* [source,java] -------------------------------------------------------------------------------------- +--- @Produces AMQPConnectionDetails amqpConnection() { return new AMQPConnectionDetails("amqp://localhost:5672"); } -------------------------------------------------------------------------------------- +--- You can also rely on the <<properties-component,Camel properties>> to read the AMQP connection details. Factory @@ -336,8 +336,6 @@ method `AMQPConnectionDetails.discoverAMQP()` attempts to read Camel properties in a Kubernetes-like convention, just as demonstrated on the snippet below: - - *AMQP connection details auto-configuration* [source,java] -- To stop receiving notification emails like this one, please contact acosent...@apache.org.