You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2010/07/09 17:43:21 UTC
svn commit: r962563 - in
/servicemix/components/engines/servicemix-camel/trunk/src/main/resources:
META-INF/spring/ OSGI-INF/ OSGI-INF/blueprint/
OSGI-INF/blueprint/servicemix-camel.xml
Author: gnodet
Date: Fri Jul 9 15:43:20 2010
New Revision: 962563
URL: http://svn.apache.org/viewvc?rev=962563&view=rev
Log:
SMXCOMP-777: Support for blueprint in components
Added:
servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/
servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/blueprint/
servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-camel.xml
Removed:
servicemix/components/engines/servicemix-camel/trunk/src/main/resources/META-INF/spring/
Added: servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-camel.xml
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-camel.xml?rev=962563&view=auto
==============================================================================
--- servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-camel.xml (added)
+++ servicemix/components/engines/servicemix-camel/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-camel.xml Fri Jul 9 15:43:20 2010
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+ xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
+ xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
+
+ <!-- Configuration Admin PID org.apache.servicemix.jbi -->
+ <cm:property-placeholder persistent-id="org.apache.servicemix.jbi">
+ <cm:default-properties>
+ <cm:property name="shutdownTimeout" value="0"/>
+ </cm:default-properties>
+ </cm:property-placeholder>
+
+ <bean id="servicemix-camel" class="org.apache.servicemix.camel.osgi.OsgiCamelJbiComponent">
+ <property name="shutdownTimeout" value="${shutdownTimeout}"/>
+ </bean>
+
+ <service ref="servicemix-camel">
+ <interfaces>
+ <value>javax.jbi.component.Component</value>
+ <value>org.apache.servicemix.camel.CamelComponent</value>
+ </interfaces>
+ <service-properties>
+ <entry key="NAME" value="servicemix-camel"/>
+ <entry key="TYPE" value="service-engine"/>
+ </service-properties>
+ </service>
+
+</blueprint>