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 db9d60552feb3b679a99d60162afa0f42eb62bb8
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu May 16 12:04:02 2019 +0200

    Camel-CDI: Polished docs a bit
---
 components/camel-cdi/src/main/docs/cdi.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/components/camel-cdi/src/main/docs/cdi.adoc 
b/components/camel-cdi/src/main/docs/cdi.adoc
index 21771b2..9b5bfbc 100644
--- a/components/camel-cdi/src/main/docs/cdi.adoc
+++ b/components/camel-cdi/src/main/docs/cdi.adoc
@@ -417,11 +417,11 @@ See configuration properties for more details.
 |Producer template injection (default Camel context) a|
 [source,java]
 ----
-@Produce(uri = "mock:outbound")
+@Produce("mock:outbound")
 ProducerTemplate producer;
 
 // or using fluent template
-@Produce(uri = "mock:outbound")
+@Produce("mock:outbound")
 FluentProducerTemplate producer;
 ----
 
@@ -433,7 +433,7 @@ FluentProducerTemplate producer;
 ProducerTemplate producer;
 
 // or using fluent template
-@Produce(uri = "direct:outbound")
+@Produce("direct:outbound")
 FluentProducerTemplate producer;
 ----
 
@@ -501,7 +501,7 @@ MyBean bean;
 |POJO consuming a|
 [source,java]
 ----
-@Consume(uri = "seda:inbound")
+@Consume("seda:inbound")
 void consume(@Body String body) {
     //...
 }

Reply via email to