All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.blueprint.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
       xsi:schemaLocation="
       http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
       http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
       http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">

   <!-- OSGI blueprint property placeholder -->
   <cm:property-placeholder id="properties" persistent-id="org.fcrepo.camel.fixity" update-strategy="reload">
     <cm:default-properties>
       <cm:property name="error.maxRedeliveries" value="10"/>
       <cm:property name="fcrepo.authUsername" value=""/>
       <cm:property name="fcrepo.authPassword" value=""/>
       <cm:property name="fcrepo.authHost" value=""/>
       <cm:property name="fcrepo.baseUrl" value="localhost:8080/fcrepo/rest"/>
       <cm:property name="fixity.failure" value="file:/tmp/?fileName=fixityErrors.log&amp;fileExist=Append"/>
       <cm:property name="fixity.success" value="mock:fixity.success"/>
       <cm:property name="fixity.delay" value="0"/>
       <cm:property name="fixity.stream" value="activemq:queue:fixity"/>
       <cm:property name="jms.brokerUrl" value="tcp://localhost:61616"/>
     </cm:default-properties>
   </cm:property-placeholder>

  <!-- component-wide configuration of fcrepo -->
  <bean id="fcrepo" class="org.fcrepo.camel.FcrepoComponent">
    <property name="authUsername" value="${fcrepo.authUsername}"/>
    <property name="authPassword" value="${fcrepo.authPassword}"/>
    <property name="authHost" value="${fcrepo.authHost}"/>
  </bean>

  <!-- configuration of activemq component -->
  <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
    <property name="brokerURL" value="${jms.brokerUrl}"/>
  </bean>

  <camelContext id="FcrepoFixity" xmlns="http://camel.apache.org/schema/blueprint">
    <package>org.fcrepo.camel.fixity</package>
  </camelContext>

</blueprint>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy