This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 9f96fb8286666cd8111d0d623547c022fd5339c8 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Sep 14 06:50:27 2021 +0200 CAMEL-16849 - Add at least one example for component in docs - Camel-Atmosphere-Websocket --- .../src/main/docs/atmosphere-websocket-component.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components/camel-atmosphere-websocket/src/main/docs/atmosphere-websocket-component.adoc b/components/camel-atmosphere-websocket/src/main/docs/atmosphere-websocket-component.adoc index 99ec26c..7b2917e 100644 --- a/components/camel-atmosphere-websocket/src/main/docs/atmosphere-websocket-component.adoc +++ b/components/camel-atmosphere-websocket/src/main/docs/atmosphere-websocket-component.adoc @@ -163,7 +163,9 @@ An atmopshere-websocket endpoint can either write data to the socket or read from the socket, depending on whether the endpoint is configured as the producer or the consumer, respectively. -== Configuring URI to Read or Write Data +== Examples + +=== Consumer Example In the route below, Camel will read from the specified websocket connection. @@ -186,7 +188,9 @@ And the equivalent Spring sample: </camelContext> ------------------------------------------------------------ -In the route below, Camel will read from the specified websocket +=== Producer Example + +In the route below, Camel will write to the specified websocket connection. [source,java] @@ -207,7 +211,4 @@ And the equivalent Spring sample: </camelContext> ------------------------------------------------------------ - - - include::{page-component-version}@camel-spring-boot::page$atmosphere-websocket-starter.adoc[]