При развертывании пакета в папке «deploy» в ServiceMix (версии 5 и 7) мне интересно, возможно ли установить версию пакета в проекте XML.
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" 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://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="my.deploy.route" update-strategy="reload"> <cm:default-properties> <cm:property name="amq.url" value="failover:(tcp://amq-host-1.my.org:61616,tcp://amq-host-2.my.org:61616)?jms.watchTopicAdvisories=false" /> <cm:property name="tracer.enable" value="false" /> </cm:default-properties> </cm:property-placeholder> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <onException useOriginalMessage="true"> <exception>java.lang.Exception</exception> <handled> <constant>true</constant> </handled> <to uri="activemq:queue:SYNCHRO.DLQ" /> </onException> <route id="route-countries"> <from uri="activemq:queue:SAP_OUTBOUND_COUNTRY" /> <to uri="activemq:queue:SYS_INBOUND_COUNTRY" /> </route> </camelContext> <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value="${amq.url}" /> </bean> </blueprint>
И вконсоль, я вижу:
[2677] [Active ] [Created ] [ ] [ 80] dms-lan-wi-dev.xml (0.0.0)
Я хотел бы знать, возможно ли также изменить начальный уровень по умолчанию на 80.