I have a situation in which I am generating a list of tasks in my camel producer then I need to send multiple exchanges containing each of these single task so that next component can process it.

Is there any pattern or producer in Camel which can serve my purpose.

I know there is DefaultTemplateProducer but my next part in route is processor which doesnot have an endpoint to point to so its of no use to me.

有帮助吗?

解决方案

You could perhaps use the slitter pattern to split the list and send it down the route?

Apache Camel Splitter

其他提示

Its a bit unclear what you want. Maybe explain your question in more details. Also make sure to understand and read about the Enterprise Integration Patterns that Camel offers: http://camel.apache.org/eip

And as U2one says, the splitter pattern may be a good start accordingly to your question.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top