camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivanhoe Abrahams (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-3390) routeBuilder ref not working in camel 2.5.0
Date Sun, 05 Dec 2010 09:42:11 GMT
routeBuilder ref not working in camel 2.5.0
-------------------------------------------

                 Key: CAMEL-3390
                 URL: https://issues.apache.org/jira/browse/CAMEL-3390
             Project: Camel
          Issue Type: Bug
          Components: camel-blueprint
    Affects Versions: 2.5.0
         Environment: Windows, Camel 2.5.0, running in Apache Felix
            Reporter: Ivanhoe Abrahams


 I amended the camel-example-osgi project so as to use the Java RouteBuilder, the MyRouteBuilder
class in that project

I changed the blueprint.xml file to the following

	<bean id="routeBuilder" class="org.apache.camel.example.osgi.MyRouteBuilder" />
	<camelContext xmlns="http://camel.apache.org/schema/blueprint">
			<routeBuilder ref="routeBuilder"/>
	</camelContext>
 
However nothing happens, no error message is displayed either.
If I leave the example in its original state, in other words using the xml-based dsl, then
it works.
Maybe this is somehow related to the fact that packageScan does not work???

Regards 
Ivanhoe



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


Mime
View raw message