Netty Replicator - improve the reconnection and keepalive mechanisms
[mdsal.git] / replicate / mdsal-replicate-netty / src / main / resources / OSGI-INF / blueprint / netty-replication-common.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
4            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.2.0">
5     <cm:property-placeholder persistent-id="org.opendaylight.mdsal.replicate.netty.common" update-strategy="none"
6                              placeholder-prefix="$common(" placeholder-suffix=")">
7         <cm:default-properties>
8             <cm:property name="keepalive-interval-seconds" value="10"/>
9             <cm:property name="max-missed-keepalives" value="5"/>
10         </cm:default-properties>
11     </cm:property-placeholder>
12     <reference id="dataBroker" interface="org.opendaylight.mdsal.dom.api.DOMDataBroker" odl:type="default"/>
13
14     <reference id="singletonServiceProvider" interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"
15                odl:type="default"/>
16
17     <bean id="bootstrapSupport" class="org.opendaylight.mdsal.replicate.netty.AbstractBootstrapSupport"
18           factory-method="create" destroy-method="close"/>
19     <service ref="bootstrapSupport" interface="org.opendaylight.mdsal.replicate.netty.BootstrapSupport"/>
20 </blueprint>