forked from community/product-iots
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.3 KiB
29 lines
1.3 KiB
<processor>
|
|
<!-- Add input event adapter config element -->
|
|
<add>
|
|
<after>inputEventAdaptersConfig/adapterConfig[@type="jms"]</after>
|
|
<value><![CDATA[<adapterConfig type="oauth-http">
|
|
<property key="minThread">8</property>
|
|
<property key="maxThread">100</property>
|
|
<property key="keepAliveTimeInMillis">20000</property>
|
|
<property key="jobQueueSize">10000</property>
|
|
<property key="maximumHttpConnectionPerHost">2</property>
|
|
<property key="maximumTotalHttpConnection">100</property>
|
|
<property key="keymanagerUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}</property>
|
|
<property key="username">admin</property>
|
|
<property key="password">admin</property>
|
|
</adapterConfig>
|
|
|
|
<adapterConfig type="oauth-mqtt">
|
|
<!-- Thread Pool Related Properties -->
|
|
<property key="minThread">8</property>
|
|
<property key="maxThread">100</property>
|
|
<property key="keepAliveTimeInMillis">20000</property>
|
|
<property key="jobQueueSize">10000</property>
|
|
<property key="connectionKeepAliveInterval">60</property>
|
|
<property key="dcrUrl">https://${iot.keymanager.host}:${iot.keymanager.https.port}/client-registration/v0.11/register</property>
|
|
<property key="tokenUrl">https://${iot.gateway.host}:${iot.gateway.https.port}/token</property>
|
|
<property key="url">tcp://${mqtt.broker.host}:${mqtt.broker.port}</property>
|
|
</adapterConfig>]]></value>
|
|
</add>
|
|
</processor> |