Apache camel 驼峰组件';速度';找不到

Apache camel 驼峰组件';速度';找不到,apache-camel,velocity,apache-servicemix,Apache Camel,Velocity,Apache Servicemix,我在路由应用程序(Servicemix)中实现*.vm模板 但是在部署JAR归档之后,我得到了这个错误 karaf@root>线程“SpringOsgiExtenderThread-38”org.apache.camel.runtimecameleexception:org.apache.camel.FailedToCreateRouteException中的异常: 无法在以下位置创建路由14:>>>到[velocity:getPayments.vm],因为您正在使用Karaf,所以需要添加ve

我在路由应用程序(Servicemix)中实现*.vm模板 但是在部署JAR归档之后,我得到了这个错误

karaf@root>线程“SpringOsgiExtenderThread-38”org.apache.camel.runtimecameleexception:org.apache.camel.FailedToCreateRouteException中的异常:
无法在以下位置创建路由14:>>>到[velocity:getPayments.vm],因为您正在使用Karaf,所以需要添加velocity功能:

features:install camel-velocity
或者如果使用Karaf4.x

feature:install camel-velocity

使用Karaf时,需要添加速度功能:

features:install camel-velocity
或者如果使用Karaf4.x

feature:install camel-velocity

使用Karaf时,需要添加速度功能:

features:install camel-velocity
或者如果使用Karaf4.x

feature:install camel-velocity

使用Karaf时,需要添加速度功能:

features:install camel-velocity
或者如果使用Karaf4.x

feature:install camel-velocity

即使在ServiceMix重新启动后也没有任何变化,但我找到了解决方案。 在初始化CamelContext之后,我手动添加camel组件

import org.apache.camel.component.velocity.*;
import org.apache.camel.component.spring.ws.*;

....

private CamelContext camel;

.....

camel = new DefaultCamelContext();
camel.addComponent("velocity", new VelocityComponent());
camel.addComponent("spring-ws",new SpringWebserviceComponent());

即使在ServiceMix重新启动后也没有任何变化,但我找到了解决方案。 在初始化CamelContext之后,我手动添加camel组件

import org.apache.camel.component.velocity.*;
import org.apache.camel.component.spring.ws.*;

....

private CamelContext camel;

.....

camel = new DefaultCamelContext();
camel.addComponent("velocity", new VelocityComponent());
camel.addComponent("spring-ws",new SpringWebserviceComponent());

即使在ServiceMix重新启动后也没有任何变化,但我找到了解决方案。 在初始化CamelContext之后,我手动添加camel组件

import org.apache.camel.component.velocity.*;
import org.apache.camel.component.spring.ws.*;

....

private CamelContext camel;

.....

camel = new DefaultCamelContext();
camel.addComponent("velocity", new VelocityComponent());
camel.addComponent("spring-ws",new SpringWebserviceComponent());

即使在ServiceMix重新启动后也没有任何变化,但我找到了解决方案。 在初始化CamelContext之后,我手动添加camel组件

import org.apache.camel.component.velocity.*;
import org.apache.camel.component.spring.ws.*;

....

private CamelContext camel;

.....

camel = new DefaultCamelContext();
camel.addComponent("velocity", new VelocityComponent());
camel.addComponent("spring-ws",new SpringWebserviceComponent());

因此,我安装了它,并将其保存在捆绑包列表[251][Active][[[50]camel velocity(2.12.3)中。此外,我在pom中更改了版本,并在部署应用程序启动后,但当我发送请求时,我收到相同的错误“未找到具有scheme:velocity的组件”我试图启动camel velocity捆绑包,但它仍保持“活动”尝试重新启动包含路由的捆绑包您的命令有错误,应该是
功能:安装…
因此,我安装了它,并将其保存在捆绑包列表[251][Active][[[50]camel velocity(2.12.3)中。此外,我在pom中更改了版本,并在部署应用程序启动后,但当我发送请求时,我会收到相同的错误“scheme:velocity未找到任何组件”我尝试启动camel velocity捆绑包,但它仍保持“活动”状态。尝试重新启动包含路由的捆绑包。您的命令有误,应该是
功能:安装…
因此,我安装了它,并将其放入捆绑包列表[251][Active][[[50]camel velocity(2.12.3)另外,我在pom中更改了版本,并且在部署应用程序启动后,但当我发送请求时,我得到了相同的错误“scheme:velocity未找到组件”。我试图启动camel velocity捆绑包,但它仍然保持“活动”“尝试重新启动包含路由的捆绑包。您的命令有错误,应该是
功能:安装…
因此,我安装了它,并将其保存在捆绑包列表[251][Active][[[50]camel velocity(2.12.3)中。此外,我在pom中更改了版本,并在部署应用程序启动后更改了版本,但当我发送请求时,会收到相同的错误。”“scheme:velocity未找到任何组件”我尝试启动camel velocity捆绑包,但它仍保持“活动”状态。尝试重新启动包含路由的捆绑包。您的命令出错,应该是
功能:安装…