I am not sure I follow but Camel has a toD() endpoint. You can dynamically route to an endpoint using some value from a header or property. If you can dynamically calculate where to route you can use toD() to accomplish this for you. So you can write code to say A-->X where X is B, C , D ,E etc.
On Tue, Mar 7, 2017 at 9:36 AM, vonezzz [via Camel] < ml-node+s465427n5794989...@n5.nabble.com> wrote: > i have endpoint A,B and C. need from A to B, from A to C. > i know use Filters or Filters can implement this. > > but i hope to configure two difference routes, not one route. > > because i need to implement from A to D , from A to E in the future, i > want to implement this dynamic. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/how-to-config-two-routes- > use-the-same-endpoint-tp5794989.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/how-to-config-two-routes-use-the-same-endpoint-tp5794989p5794991.html Sent from the Camel - Users mailing list archive at Nabble.com.