Dmaap client
[transportpce.git] / dmaap-client / src / main / resources / OSGI-INF / blueprint / dmaap-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright © 2021 Orange and others. All rights reserved. This program and the accompanying materials
4     are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
5     and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
7  xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
8     odl:use-default-for-reference-types="true">
9     <cm:property-placeholder persistent-id="org.opendaylight.transportpce.dmaap" update-strategy="reload">
10         <cm:default-properties>
11             <cm:property name="dmaap.baseUrl" value="http://localhost:8080" />
12             <cm:property name="dmaap.username" value="" />
13              <cm:property name="dmaap.password" value="" />
14         </cm:default-properties>
15     </cm:property-placeholder>
16     <reference id="notificationService" interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
17
18     <bean id="provider"
19         class="org.opendaylight.transportpce.dmaap.client.impl.DmaapClientProvider"
20         init-method="init" destroy-method="close">
21         <argument ref="notificationService" />
22         <argument value="${dmaap.baseUrl}"></argument>
23         <argument value="${dmaap.username}"></argument>
24         <argument value="${dmaap.password}"></argument>
25     </bean>
26 </blueprint>