Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"CamelCoapResponseCode": { "index": 3, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CoAP response code sent by the external server. See RFC 7252 for details of what each code means.", "constantName": "org.apache.camel.coap.CoAPConstants#COAP_RESPONSE_CODE" },
"Content-Type": { "index": 4, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The content type", "constantName": "org.apache.camel.coap.CoAPConstants#CONTENT_TYPE" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "bytes" ], "javaType": "byte[]", "description": "The request payload as a byte array, empty for a request without a payload, such as a GET; with observe, the payload of each notification of the observed resource" },
"consumerReply": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The response payload: text, bytes, a stream, a file or no body. A Map, a POJO or a number is sent as an empty payload: convert or marshal it first" },
"producerIn": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The payload of a POST or a PUT: text, bytes, a stream or a file. A Map, a POJO or a number is sent as an empty payload: marshal it first. Without CamelCoapMethod, no body sends a GET and a body a POST" },
"producerOut": { "carriers": [ "bytes", "value" ], "byOption": [ { "option": "notify", "value": "true", "carriers": [ "unchanged" ] } ], "description": "The response payload as a byte array, empty for a response without a payload; a Boolean for a PING (CamelCoapMethod=PING). The response code is in the CamelCoapResponseCode header" }
},
"properties": {
"uri": { "index": 0, "kind": "path", "displayName": "Uri", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": false, "description": "The URI for the CoAP endpoint" },
"coapMethodRestrict": { "index": 1, "kind": "parameter", "displayName": "Coap Method Restrict", "group": "consumer", "label": "consumer", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "DELETE", "GET", "POST", "PUT" ], "multiEnum": true, "deprecated": false, "autowired": false, "secret": false, "description": "Comma separated list of methods that the CoAP consumer will bind to. The default is to bind to all methods (DELETE, GET, POST, PUT)." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"CamelCoapResponseCode": { "index": 3, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CoAP response code sent by the external server. See RFC 7252 for details of what each code means.", "constantName": "org.apache.camel.coap.CoAPConstants#COAP_RESPONSE_CODE" },
"Content-Type": { "index": 4, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The content type", "constantName": "org.apache.camel.coap.CoAPConstants#CONTENT_TYPE" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "bytes" ], "javaType": "byte[]", "description": "The request payload as a byte array, empty for a request without a payload, such as a GET; with observe, the payload of each notification of the observed resource" },
"consumerReply": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The response payload: text, bytes, a stream, a file or no body. A Map, a POJO or a number is sent as an empty payload: convert or marshal it first" },
"producerIn": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The payload of a POST or a PUT: text, bytes, a stream or a file. A Map, a POJO or a number is sent as an empty payload: marshal it first. Without CamelCoapMethod, no body sends a GET and a body a POST" },
"producerOut": { "carriers": [ "bytes", "value" ], "byOption": [ { "option": "notify", "value": "true", "carriers": [ "unchanged" ] } ], "description": "The response payload as a byte array, empty for a response without a payload; a Boolean for a PING (CamelCoapMethod=PING). The response code is in the CamelCoapResponseCode header" }
},
"properties": {
"uri": { "index": 0, "kind": "path", "displayName": "Uri", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": false, "description": "The URI for the CoAP endpoint" },
"coapMethodRestrict": { "index": 1, "kind": "parameter", "displayName": "Coap Method Restrict", "group": "consumer", "label": "consumer", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "DELETE", "GET", "POST", "PUT" ], "multiEnum": true, "deprecated": false, "autowired": false, "secret": false, "description": "Comma separated list of methods that the CoAP consumer will bind to. The default is to bind to all methods (DELETE, GET, POST, PUT)." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"CamelCoapResponseCode": { "index": 3, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CoAP response code sent by the external server. See RFC 7252 for details of what each code means.", "constantName": "org.apache.camel.coap.CoAPConstants#COAP_RESPONSE_CODE" },
"Content-Type": { "index": 4, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The content type", "constantName": "org.apache.camel.coap.CoAPConstants#CONTENT_TYPE" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "bytes" ], "javaType": "byte[]", "description": "The request payload as a byte array, empty for a request without a payload, such as a GET; with observe, the payload of each notification of the observed resource" },
"consumerReply": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The response payload: text, bytes, a stream, a file or no body. A Map, a POJO or a number is sent as an empty payload: convert or marshal it first" },
"producerIn": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The payload of a POST or a PUT: text, bytes, a stream or a file. A Map, a POJO or a number is sent as an empty payload: marshal it first. Without CamelCoapMethod, no body sends a GET and a body a POST" },
"producerOut": { "carriers": [ "bytes", "value" ], "byOption": [ { "option": "notify", "value": "true", "carriers": [ "unchanged" ] } ], "description": "The response payload as a byte array, empty for a response without a payload; a Boolean for a PING (CamelCoapMethod=PING). The response code is in the CamelCoapResponseCode header" }
},
"properties": {
"uri": { "index": 0, "kind": "path", "displayName": "Uri", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": false, "description": "The URI for the CoAP endpoint" },
"coapMethodRestrict": { "index": 1, "kind": "parameter", "displayName": "Coap Method Restrict", "group": "consumer", "label": "consumer", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "DELETE", "GET", "POST", "PUT" ], "multiEnum": true, "deprecated": false, "autowired": false, "secret": false, "description": "Comma separated list of methods that the CoAP consumer will bind to. The default is to bind to all methods (DELETE, GET, POST, PUT)." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"CamelCoapResponseCode": { "index": 3, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CoAP response code sent by the external server. See RFC 7252 for details of what each code means.", "constantName": "org.apache.camel.coap.CoAPConstants#COAP_RESPONSE_CODE" },
"Content-Type": { "index": 4, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The content type", "constantName": "org.apache.camel.coap.CoAPConstants#CONTENT_TYPE" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "bytes" ], "javaType": "byte[]", "description": "The request payload as a byte array, empty for a request without a payload, such as a GET; with observe, the payload of each notification of the observed resource" },
"consumerReply": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The response payload: text, bytes, a stream, a file or no body. A Map, a POJO or a number is sent as an empty payload: convert or marshal it first" },
"producerIn": { "carriers": [ "null", "text", "bytes", "stream", "file" ], "description": "The payload of a POST or a PUT: text, bytes, a stream or a file. A Map, a POJO or a number is sent as an empty payload: marshal it first. Without CamelCoapMethod, no body sends a GET and a body a POST" },
"producerOut": { "carriers": [ "bytes", "value" ], "byOption": [ { "option": "notify", "value": "true", "carriers": [ "unchanged" ] } ], "description": "The response payload as a byte array, empty for a response without a payload; a Boolean for a PING (CamelCoapMethod=PING). The response code is in the CamelCoapResponseCode header" }
},
"properties": {
"uri": { "index": 0, "kind": "path", "displayName": "Uri", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": false, "description": "The URI for the CoAP endpoint" },
"coapMethodRestrict": { "index": 1, "kind": "parameter", "displayName": "Coap Method Restrict", "group": "consumer", "label": "consumer", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "DELETE", "GET", "POST", "PUT" ], "multiEnum": true, "deprecated": false, "autowired": false, "secret": false, "description": "Comma separated list of methods that the CoAP consumer will bind to. The default is to bind to all methods (DELETE, GET, POST, PUT)." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "List", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The node ids.", "constantName": "org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" }
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "description": "The body is not read: the nodes to browse are the node IDs of the CamelMiloNodeIds header, or else the node option" },
"producerOut": { "carriers": [ "map" ], "description": "A Map of the browsed ExpandedNodeId to its Milo BrowseResult; the node IDs found are also in the CamelMiloNodeIds header, as a List of Strings for the milo-client producer" }
},
"properties": {
"endpointUri": { "index": 0, "kind": "path", "displayName": "Endpoint Uri", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The OPC UA server endpoint" },
"clientId": { "index": 1, "kind": "parameter", "displayName": "Client Id", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.milo.client.MiloClientConfiguration", "configurationField": "configuration", "description": "A virtual client id to force the creation of a new connection instance" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
"CamelMiloAwait": { "index": 1, "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The await setting for writes.", "constantName": "org.apache.camel.component.milo.MiloConstants#HEADER_AWAIT" },
"CamelMiloNodeId": { "index": 2, "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The node ID of the value, as configured in the node or nodes option. Not to be confused with CamelMiloNodeIds, the list of nodes that the producer reads.", "constantName": "org.apache.camel.component.milo.MiloConstants#HEADER_NODE_ID" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "pojo" ], "javaType": "org.eclipse.milo.opcua.stack.core.types.builtin.DataValue", "description": "The Milo DataValue of each change of a monitored node: its getValue().getValue() is the value, and the status code tells a good value from a lost connection. The node is in the CamelMiloNodeId header" },
"producerIn": { "carriers": [ "text", "bytes", "value", "pojo", "null" ], "description": "The value to write to the node, or the input arguments of the method: an OPC UA built-in value such as a String, a number, a boolean, a Variant or a DataValue. A stream, a file, a Map or a bean fails with Bad_EncodingError. With the CamelMiloNodeIds header the body is not read: the producer reads the values of those nodes" },
"producerOut": { "carriers": [ "unchanged" ], "byOption": [ { "option": "defaultAwaitWrites", "value": "true", "carriers": [ "pojo", "list" ] } ], "description": "The producer does not wait, unless the CamelMiloAwait header or defaultAwaitWrites says so; it then sets the result: the StatusCode of a write, the CallMethodResult of a method call, or a List of DataValue of the nodes read" }
},
"properties": {
"endpointUri": { "index": 0, "kind": "path", "displayName": "Endpoint Uri", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The OPC UA server endpoint" },
"clientId": { "index": 1, "kind": "parameter", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.milo.client.MiloClientConfiguration", "configurationField": "configuration", "description": "A virtual client id to force the creation of a new connection instance" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"userAuthenticationCredentials": { "index": 18, "kind": "property", "displayName": "User Authentication Credentials", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "description": "Set user password combinations in the form of user1:pwd1,user2:pwd2 Usernames and passwords will be URL decoded" },
"usernameSecurityPolicyUri": { "index": 19, "kind": "property", "displayName": "Username Security Policy Uri", "group": "security", "label": "security", "required": false, "type": "enum", "javaType": "org.eclipse.milo.opcua.stack.core.security.SecurityPolicy", "enum": [ "None", "Basic128Rsa15", "Basic256", "Basic256Sha256", "Aes128_Sha256_RsaOaep", "Aes256_Sha256_RsaPss" ], "deprecated": false, "autowired": false, "secret": false, "description": "Set the UserTokenPolicy used when" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "pojo" ], "javaType": "org.eclipse.milo.opcua.stack.core.types.builtin.DataValue", "description": "The Milo DataValue an OPC UA client wrote to the item: its getValue().getValue() is the value" },
"producerIn": { "carriers": [ "text", "bytes", "value", "pojo", "null" ], "description": "The new value of the item: an OPC UA built-in value such as a String, a number, a boolean, a Variant or a DataValue. Another object, such as a Map or a stream, is accepted but clients cannot read it" },
"producerOut": { "carriers": [ "unchanged" ] }
},
"properties": {
"itemId": { "index": 0, "kind": "path", "displayName": "Item Id", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "ID of the item" },
"bridgeErrorHandler": { "index": 1, "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored." },
Expand Down
Loading
Loading