You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Geert Schuring (JIRA)" <ji...@apache.org> on 2010/10/24 12:42:40 UTC
[jira] Commented: (CAMEL-3271) packageScan does not work with
camel-blueprint
[ https://issues.apache.org/activemq/browse/CAMEL-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62792#action_62792 ]
Geert Schuring commented on CAMEL-3271:
---------------------------------------
I've tried using just <package> without being nested in <packageScan>, but the result is the same: The route is not activated, but blueprint doesn't complain about the given XML either. So I have no idea what exactly is wrong.
@Claus: Do you know of any working example that uses either <package> or <packageScan> in blueprint?
> packageScan does not work with camel-blueprint
> ----------------------------------------------
>
> Key: CAMEL-3271
> URL: https://issues.apache.org/activemq/browse/CAMEL-3271
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-blueprint
> Affects Versions: 2.4.0
> Environment: Fuse servicemix 4.3
> Reporter: Geert Schuring
> 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.