运行项目时显示错误osgix:cm-properties

时间:2017-11-27 07:21:48

标签: maven apache-camel

我的项目中有xml配置,下面的代码是什么意思?因为当我用mvn camel运行时:运行。错误显示在第21行的osgix:cm-properties,persistent-id标记中。什么意思代码?感谢

<?xml version="1.0" encoding="UTF-8"?>
<!-- Configures the Camel Context -->

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ctx="http://www.springframework.org/schema/context"
    xmlns:cxf="http://camel.apache.org/schema/cxf" xmlns:camel="http://cxf.apache.org/transports/camel"
    xmlns:osgi="http://camel.apache.org/schema/osgi" xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
        http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd
        http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium-1.2.xsd
        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
        http://cxf.apache.org/transports/camel http://cxf.apache.org/transports/camel.xsd
        http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
       ">

    <!-- FOR READ OSGI CONFIGURATION -->
    <osgix:cm-properties
        id="com.prudential.integration.middleware.crm.services"
        persistent-id="com.prudential.integration.middleware.crm.services" />

    <ctx:property-placeholder
        properties-ref="com.prudential.integration.middleware.crm.services" />
    <!-- FOR READ OSGI CONFIGURATION -->

    <bean id="crmProcess" class="com.prudential.integration.middleware.crm.services.process.CRMProcess">
        <property name="urlNewEmail" value="${urlNewEmail}" />
        <property name="reportLoc" value="${reportLoc}" />
        <property name="prefixReportName" value="${prefixReportName}" />
        <property name="csvDelimiter" value="${csvDelimiter}" />
        <property name="crmRequestTimeOut" value="${crmRequestTimeOut}" />
        <property name="crmReadTimeOut" value="${crmReadTimeOut}" />
    </bean>

    <cxf:rsServer id="crmEndPoint" address="/crm"
        serviceClass="com.prudential.integration.middleware.crm.services.service.CRMServices" />

</beans>

0 个答案:

没有答案