Hi,

I've submitted a pull request to fix this issue and a nullreference
exception that we found when trying to set up a bootstrapper with
non-default configuration:

https://github.com/hibernating-rhinos/rhino-esb/pull/66

Cheers,

Miles

On Tue, Nov 27, 2012 at 5:39 PM, miles <[email protected]> wrote:
> Hi,
>
> I encountered some strange behaviour when using the IEndpointRouter
> component, which was that messages sent to localhost weren't being
> re-routed.  Strange because messages sent elsewhere were re-routed as
> expected.
>
> It turned out that this is because localhost is special-case replaced with
> the machine name, so reading the config to do the remapping doesn't
> necessarily work:
> https://github.com/hibernating-rhinos/rhino-esb/blob/master/Rhino.ServiceBus/Endpoint.cs
>
> Does anyone know why it actually does this?  If so, shouldn't it be using
> Uri.IsLoopback property as I would think the same reasoning should apply if
> the user wrote 127.0.0.1 in the config file?  And lastly, is it a good idea
> to put the same logic into the EndpointRouter as currently some remappings
> can appear to be bypassed?
>
> Miles
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rhino-tools-dev/-/gw3Y6i_O-8cJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to