title: Spring Cloud : Using routing type filter in Zuul
body: <p>I have 2 micro-services (Service A and Service B) built using Spring Boot,  which gets routed through a Zuul Proxy also built as a Spring Boot app and I have checked that the Zuul proxy works just fine. However, what I am trying to do is to write a custom routing type ZuulFilter which should first route to Service A when a request comes in for Service B. Here is what I need assistance for: </p>
  
  <ol>
  <li><p>I would like to know an example of how a routing filter looks like as I do not see anything after searching the internet. What I get are some examples of pre-filter and <a href="https://github.com/Netflix/zuul/wiki/How-it-Works" rel="nofollow noreferrer">Netflix's documentation</a> doesn't help much as well on that aspect. </p></li>
  <li><p>Whether writing a custom route filter would mess up the original routing behavior of Zuul</p></li>
  </ol>