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 2b96a85 Fix code block in polling consumer eip adoc (again)
2b96a85 is described below
commit 2b96a85ca590e14a913596f9ab810ef8a5a12aad
Author: Tadayoshi Sato <[email protected]>
AuthorDate: Fri Mar 5 21:53:54 2021 +0900
Fix code block in polling consumer eip adoc (again)
---
.../src/main/docs/modules/eips/pages/polling-consumer.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 0470964..b43c5a9 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
@@ -17,8 +17,8 @@ In Java:
[source,java]
----
Endpoint endpoint = context.getEndpoint("activemq:my.queue");
-PollingConsumer consumer = endpoint.createPollingConsumer(); Exchange
-exchange = consumer.receive();
+PollingConsumer consumer = endpoint.createPollingConsumer();
+Exchange exchange = consumer.receive();
----
The *`ConsumerTemplate`* (discussed below) is also available.