Как исправить: "Статус: Светокопия GracePeriod Отсутствуют зависимости: (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)"

Я собрал комплект, используя camel-archetype-blueprint. Но после развертывания в ServiceMix он не запустился и остался в состоянии GracePeriod. В журнале нет ошибок: дисплей. Вызов пакета: diag приводит к: "Статус: Светокопия GracePeriod Отсутствуют зависимости: (& (objectClass = org.apache.aries.blueprint.NamespaceHandler) (osgi.service.blueprint.namespace = http://camel.apache.org/schema/blueprint)) ".

    <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://www.osgi.org/xmlns/blueprint/v1.0.0 
     https://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
     http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 
     http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd">

<cm:property-placeholder
    persistent-id="HelloBean" update-strategy="reload">
    <cm:default-properties>
        <cm:property name="greeting" value="Hi from Camel" />
    </cm:default-properties>
</cm:property-placeholder>

<bean id="MyRouteBuilder" class="com.bpjava.tfsredmine.MyRouteBuilder" />

<camelContext id="blueprint-bean-context"
    xmlns="http://camel.apache.org/schema/blueprint">
    <routeBuilder ref="MyRouteBuilder" />
</camelContext>

1 ответ

Вам необходимо установить функцию Camel-Blueprint в вашем контейнере.

Другие вопросы по тегам