Re: Need Help. How to register custom routes to gorouter

James Bayer

which cf-release are you using?

newer versions support an http api for trusted components to register
routes. shannon is the PM for the routing team and can explain more and
perhaps point to documentation.

note there is an example of mysql registering a route with the previous
approach in a bosh release here:

On Thu, Sep 3, 2015 at 4:20 PM, Lakshman Mukkamalla (lmukkama) <
lmukkama(a)> wrote:

Hi cf devs,
I want to register some custom routes to the gorouter component of
cloud foundry. What I understood was that this could be achieved by
nats-pub command but when I try this command on the gorouter VM it was not
recognized. Can anyone help me how to register custom routes to gorouter.
What worked:
curl -vvv "
This gives me the current routes that are registered.

*What did not work:*
nats-pub 'router.register' 'some custom route'
Is there a rest call to register the custom routes?

It would be of great help if someone can guide me on how to achieve the


Thank you,

James Bayer

Join to automatically receive all group messages.