Skip to content

Commit

Permalink
AMQ-6834: activemq-osgi should not include camel namespace in spring …
Browse files Browse the repository at this point in the history
…as they have been removed from Camel. Only blueprint is supported
  • Loading branch information
davsclaus committed Oct 15, 2017
1 parent 3cfa5cf commit 98a5e55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
16 changes: 5 additions & 11 deletions activemq-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>activemq-web</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
</exclusion>
</exclusions>
Expand Down Expand Up @@ -209,7 +211,7 @@
</resource>
</resources>
<plugins>
<!-- get camel core spring schema info -->
<!-- get camel core blueprint schema info -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
Expand All @@ -221,15 +223,7 @@
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
<version>${camel-version}</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${basedir}/target/extra-resources/</outputDirectory>
<includes>camel-spring.xsd</includes>
</artifactItem>
<!-- only camel-blueprint is supported with XML in OSGi with Camel -->
<artifactItem>
<groupId>org.apache.camel</groupId>
<artifactId>camel-blueprint</artifactId>
Expand Down
3 changes: 0 additions & 3 deletions activemq-osgi/src/main/resources/META-INF/spring.handlers
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@
# manual creation to include camel handler so we can embed camel context in xbean xml config
#
http\://activemq.apache.org/schema/core=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler
http\://camel.apache.org/schema/spring=org.apache.camel.spring.handler.CamelNamespaceHandler
http\://camel.apache.org/schema/spring/v2.10=org.apache.camel.spring.handler.CamelNamespaceHandler
http\://camel.apache.org/schema/osgi=org.apache.camel.osgi.CamelNamespaceHandler
3 changes: 0 additions & 3 deletions activemq-osgi/src/main/resources/META-INF/spring.schemas
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ http\://activemq.apache.org/schema/core/activemq-core-5.14.5.xsd=activemq.xsd
http\://activemq.apache.org/schema/core/activemq-core-5.15.0.xsd=activemq.xsd
http\://activemq.apache.org/schema/core/activemq-core-5.15.1.xsd=activemq.xsd

http\://camel.apache.org/schema/osgi/camel-osgi.xsd=camel-osgi.xsd
http\://camel.apache.org/schema/spring/camel-spring.xsd=camel-spring.xsd

http\://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd
http\://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd
http\://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd
Expand Down

0 comments on commit 98a5e55

Please sign in to comment.