This is an automated email from the ASF dual-hosted git repository. coheigea 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 80e90fe CAMEL-13471 - Updating docs 80e90fe is described below commit 80e90febbbaa4f69363ef64f61c32a187675689f Author: Colm O hEigeartaigh <cohei...@apache.org> AuthorDate: Tue May 7 16:39:03 2019 +0100 CAMEL-13471 - Updating docs --- components/camel-coap/src/main/docs/coap-component.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/components/camel-coap/src/main/docs/coap-component.adoc b/components/camel-coap/src/main/docs/coap-component.adoc index d365cf3..a5502e9 100644 --- a/components/camel-coap/src/main/docs/coap-component.adoc +++ b/components/camel-coap/src/main/docs/coap-component.adoc @@ -8,6 +8,23 @@ allows you to work with CoAP, a lightweight REST-type protocol for machine-to-ma http://coap.technology/[CoAP], Constrained Application Protocol is a specialized web transfer protocol for use with constrained nodes and constrained networks and it is based on RFC 7252. +From Camel 3.0.0, Camel supports the DTLS, TCP and TLS protocols via the following URI schemes: + +[width="100%",cols="2,5",options="header"] +|=== +| Scheme | Protocol | +| coap | UDP | +| coaps | UDP + DTLS | +| coap+tcp | TCP | +| coaps+tcp | TCP + TLS | +|=== + +There are a number of different configuration options to configure TLS. For both DTLS (the "coaps" uri scheme) +and TCP + TLS (the "coaps+tcp" uri scheme), it is possible to use a "sslContextParameters" parameter, from +which the camel-coap component will extract the required truststore / keystores etc to set up TLS. In addition, +the DTLS protocol supports two alternative configuration mechanisms. To use a pre-shared key, configure a +pskStore, and to work with raw public keys, configure privateKey + publicKey objects. + Maven users will need to add the following dependency to their pom.xml for this component: