I want to 'redirect' web request to another service. I want to change nothing about them and send them to another service (I assume with something like http-clj). The result will then do the same hop.
This is required because we are replacing part of the service, but we can not have the client call service directly.
We deploy into a tomcat but generally it should work for any Ring Request.
Is there a elegant way to do this?
Thanks
This isn't a Ring-specific answer, but I feel that you'd be better off using a Reverse Proxy like Nginx in front of both your old web service and the new replacement web service.
A reverse proxy can easily respond to different incoming URLs and transparently pass them through to the correct web service behind the scenes. This is a flexible and powerful approach that will allow for many partitioned URL scheme variations as your service grows.