Besides the resources configured in the server configuration element, additional
resources can be configured dynamically using the
<coap-server:add-resource/>
message processor. The uri attribute
specifies which resource is to add. The uri needs to be a complete resource-path,
including all parent resource(s). All parent resources in the path must exist already.
Requests on the resource can be done immediately, provided there is a listener
configured for it. The same attributes as in the coap-server configuration can be set to
configure which request methods are allowed on the resource.
In the example below the w resource is added as child to the alphabet resource.
<flow name="coap-serverFlow3"> ... <coap-server:add-resource uri="/alphabet/w" config-ref="CoAP_Server_Configuration" get="true" observe="true" put="true" delete="true" /> ... </flow>