How to create proxy bundle template for multitarget routing with config.json

I need to create a proxy bundle template supports (n) route rules
For Example :
1. use the template to create a proxy with two route rules

2. use the same template to create a proxy with three route rules

0 3 201
3 REPLIES 3

what tool are you using for templating? Are you thinking to use the maven config tool?

Can you give us some additional context? What other constraints apply?

@Sai Saran Vaidyanathan maybe you want to look at this.

  1. I am using maven config tool for deployment.
  2. I just need to create a bundle template which supports dynamic multi routerules (For pathBasedRouting).
  3. Is it possible to add or remove xml elements usign config.json (to add dynamic routerules in proxy - default.xml)

Is there a way to add an new xpath in a policy using config.json?