|
|
@ -17,17 +17,16 @@
|
|
|
|
~ under the License.
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<eventReceiver name="EventReceiver_ConnectedCup" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
|
|
|
|
<eventReceiver name="connectedcup_reciever" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
|
|
|
|
<from eventAdapterType="oauth-mqtt">
|
|
|
|
<from eventAdapterType="oauth-mqtt">
|
|
|
|
<property name="topic">wso2/carbon.super/connectedcup/#</property>
|
|
|
|
<property name="topic">carbon.super/connectedcup/#</property>
|
|
|
|
<property name="username">admin</property>
|
|
|
|
<property name="username">admin</property>
|
|
|
|
<property name="contentValidationParams">device_id_json_path:event.metaData.deviceId,device_id_topic_hierarchy_index:3</property>
|
|
|
|
<property name="contentValidationParams">device_id_json_path:event.metaData.deviceId,device_id_topic_hierarchy_index:3</property>
|
|
|
|
<property name="contentValidation">default</property>
|
|
|
|
<property name="contentValidation">org.wso2.carbon.device.mgt.iot.input.adapter.mqtt.util.MQTTContentValidator</property>
|
|
|
|
<property name="dcrUrl">https://localhost:9443/dynamic-client-web/register</property>
|
|
|
|
<property name="dcrUrl">https://localhost:${carbon.https.port}/dynamic-client-web/register</property>
|
|
|
|
<property name="url">tcp://localhost:1883</property>
|
|
|
|
<property name="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
|
|
|
|
<property name="cleanSession">true</property>
|
|
|
|
<property name="cleanSession">true</property>
|
|
|
|
</from>
|
|
|
|
</from>
|
|
|
|
<mapping customMapping="disable" type="json"/>
|
|
|
|
<mapping customMapping="disable" type="json"/>
|
|
|
|
<to streamName="org.wso2.iot.connectedcup" version="1.0.0"/>
|
|
|
|
<to streamName="org.wso2.iot.connectedcup" version="1.0.0"/>
|
|
|
|
</eventReceiver>
|
|
|
|
</eventReceiver>
|
|
|
|
|
|
|
|
|