Dynamically Routing Message to different machine

Hey All,
I am trying to route messages from one machine to another. I would like to dynamically send them to separate queues based on some logic that I have in my sending endpoint. I was trying to achieve this with an instance mapping file but it seems I have to bind the message that I am sending to the routing table in the endpoint config upon startup.

In previous versions I could specify the machine in the .Send command like this:
_endpoint.Send(“myqueue@myservername”, message);

Is there anything equivalent in the latest version? Or am going down an anti-pattern path?

Thanks!

I was able to get the above line to work… had to add anonymous logon with sender rights to the receiving queue.