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

tsato pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new a0b2d5e  Fix code block in polling consumer eip adoc (again)
a0b2d5e is described below

commit a0b2d5e8cd8f69d6b11ed82908439a3ba1754141
Author: Tadayoshi Sato <[email protected]>
AuthorDate: Fri Mar 5 21:52:46 2021 +0900

    Fix code block in polling consumer eip adoc (again)
---
 .../src/main/docs/modules/eips/pages/polling-consumer.adoc              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/polling-consumer.adoc 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/polling-consumer.adoc
index 62c073f..0470964 100644
--- 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/polling-consumer.adoc
+++ 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/polling-consumer.adoc
@@ -16,7 +16,7 @@ In Java:
 
 [source,java]
 ----
-javaEndpoint endpoint = context.getEndpoint("activemq:my.queue");
+Endpoint endpoint = context.getEndpoint("activemq:my.queue");
 PollingConsumer consumer = endpoint.createPollingConsumer(); Exchange
 exchange = consumer.receive();
 ----

Reply via email to