2 Replies Latest reply on May 2, 2012 5:52 AM by Vincent Mahe

    Problem using velocity in Fuse 4.4.1

    Vincent Mahe Newbie

      Hello all,

       

      I'm trying to use the velocity component in 4.4.1-fuse-01-13.

      There is something like from("direct:alarms").to("velocity:addAlarm.vm") in my route.

       

      But when I try to deploy my bundle, in my logs, I can see that the route can not be deployed because of :

      [OnException[[cla... because of Failed to resolve endpoint: velocity://addAlarm.vm due to: No component found with scheme: velocity

       

      If I look in Karaf, I can only see one Velocity component :

      Apache ServiceMix :: Bundles :: velocity (1.7.0.1)

       

      Do I have to install any other bundle in order to use Velocity ?

       

      Note that I have configured the following dependency in my pom.xml :

      <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-velocity</artifactId>

        <version>${camel-version}</version>

        <type>bundle</type>

      </dependency>

       

      Thanks

       

      Regards,

       

      Vincent