1、首先在processor中声明注入
@Produce
protected ProducerTemplate template;
2、指定enpoint
Endpoint e = dataImportcamelContext.getEndpoint(“vm:abc”);
其中vm:abc是在camelContext的上下文中存在的enpooint
eg: <from uri="vm:abc"/>
<to uri =""/>去到新的producer
3、调用触发
template.sendBody(e, param); //param为放在body的内容