Repository: camel Updated Branches: refs/heads/master 52ad12085 -> f0a7e744e
CAMEL-10112: Camel-CoAP: Add Ping operation to CoAP Producer - Updated docs Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f0a7e744 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f0a7e744 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f0a7e744 Branch: refs/heads/master Commit: f0a7e744ed5744fcbee1c09433e48681abd8ea2f Parents: 65c4051 Author: Andrea Cosentino <anco...@gmail.com> Authored: Fri Jul 1 11:59:48 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Fri Jul 1 12:00:54 2016 +0200 ---------------------------------------------------------------------- components/camel-coap/src/main/docs/coap.adoc | 4 +++- .../src/main/java/org/apache/camel/coap/CoAPEndpoint.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f0a7e744/components/camel-coap/src/main/docs/coap.adoc ---------------------------------------------------------------------- diff --git a/components/camel-coap/src/main/docs/coap.adoc b/components/camel-coap/src/main/docs/coap.adoc index dc2c92f..74a5b21 100644 --- a/components/camel-coap/src/main/docs/coap.adoc +++ b/components/camel-coap/src/main/docs/coap.adoc @@ -33,6 +33,7 @@ The CoAP component has no options. + // endpoint options: START The CoAP component supports 6 endpoint options which are listed below: @@ -41,7 +42,7 @@ The CoAP component supports 6 endpoint options which are listed below: |======================================================================= | Name | Group | Default | Java Type | Description | uri | common | | URI | The URI for the CoAP endpoint -| coapMethod | common | * | String | The CoAP method this endpoint binds to. Default is to bind to all () but can be restricted to GET POST PUT DELETE +| coapMethod | common | * | String | The CoAP method this endpoint binds to. Default is to bind to all () but can be restricted to GET POST PUT DELETE PING | bridgeErrorHandler | consumer | false | boolean | Allows for bridging the consumer to the Camel routing Error Handler which mean any exceptions occurred while the consumer is trying to pickup incoming messages or the likes will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions that will be logged at WARN/ERROR level and ignored. | exceptionHandler | consumer (advanced) | | ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions that will be logged at WARN/ERROR level and ignored. | exchangePattern | advanced | InOnly | ExchangePattern | Sets the default exchange pattern when creating an exchange @@ -50,3 +51,4 @@ The CoAP component supports 6 endpoint options which are listed below: {% endraw %} // endpoint options: END + http://git-wip-us.apache.org/repos/asf/camel/blob/f0a7e744/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java index 7976d53..f8e0f36 100644 --- a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java +++ b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java @@ -54,7 +54,7 @@ public class CoAPEndpoint extends DefaultEndpoint { } /** * The CoAP method this endpoint binds to. Default is to bind to all ("*") but can - * be restricted to GET, POST, PUT, DELETE + * be restricted to GET, POST, PUT, DELETE, PING * @return */ public String getCoapMethod() {