You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/12/06 21:31:11 UTC

[jira] Resolved: (CAMEL-3271) packageScan does not work with camel-blueprint

     [ https://issues.apache.org/jira/browse/CAMEL-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved CAMEL-3271.
------------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/camel/trunk ...
	M	components/camel-blueprint/src/main/java/org/apache/camel/blueprint/CamelContextFactoryBean.java
	A	components/camel-blueprint/src/main/java/org/apache/camel/blueprint/PackageScanRouteBuilderFinder.java
	M	tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintTestSupport.java
	A	tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/TestRouteBuilder.java
	A	tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/blueprint/blueprint-4.xml
	A	tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/blueprint/blueprint-5.xml
Committed r1042780


> packageScan does not work with camel-blueprint
> ----------------------------------------------
>
>                 Key: CAMEL-3271
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3271
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>    Affects Versions: 2.4.0
>         Environment: Fuse servicemix 4.3
>            Reporter: Geert Schuring
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: camel-blueprint-0.0.1-SNAPSHOT-sources.jar, camel-blueprint-0.0.1-SNAPSHOT.jar
>
>
> Using the following xml code does not activate the Java Camel routes that can be found in the given package;
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
> 	<camelContext xmlns="http://camel.apache.org/schema/blueprint">
> 		<packageScan>
> 			<package>eu.schuring.camel.blueprint.route</package>
> 		</packageScan>
> 	</camelContext>
> </blueprint>
> Attached is a usecase that should output messages from both a native blueprint DSL route and a Java DSL route activated by the xml section above. I've attached both the bundle and a source jar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.