I think I'll answer myself here having read even more code and I think I could hook in my endpoint configuration using the Bootstrapper.ConfigureBusFacility(Facility) method, right?
I think that's the one. I love this code, by the way. Thanks! ::m On 16 Apr, 09:12, MikeEast <[email protected]> wrote: > Thanks for your response. > > Having read some more code, I now see that the RemoteAppDomainHost > would best suit my scenario since it actually in turn hosts the > DefaultHost. > > However, from what I can see there is no way of configuring the > endpoints programmatically when using the RemoteAppDomainHost, or is > there? > > I can't see where I would hook that in, since the constructors of the > RemoteAppDomainHost does not allow it and Bootstrapper.BeforeStart() > is being called after DefaultHost.CreateContainer(). > > Is there any way to do that, or is it just that it's considered a bad > idea to take such an approach for the configuration of endpoints in > general? > > Cheers! > > On 14 Apr, 15:23, Ayende Rahien <[email protected]> wrote: > > > > > > > While you *can* use a Default Host for each of those, I would recommend > > using the RemoteAppDomainDefaultHost, to ensure endpoint isolation. While > > they are currently on the same process, that might not be the case in the > > future, and you want to avoid unintentional dependencies. > > Endpoints are logically a separate thing. > > Regarding your endpoint behavior, you are describing a publication of an > > event that a number of consumers may want to deal with. > > > On Wed, Apr 14, 2010 at 11:35 AM, MikeEast <[email protected]> wrote: > > > I have just started digging into the Rhino ESB and I have some > > > questions about endpoint hosting strategies. > > > > I may be quite wrong in my current understanding of how to use the > > > ESB, but I think I want to host all my endpoints in the same process > > > and wonder how to set that up? > > > > What I want to do is to create a couple of types of messages that I > > > want several different endpoints to consume. To be more specific, I > > > want to create, say, a ProcessEmployeeMessage that I want x number of > > > endpoints to consume independently of each other. Later on, I would > > > also like to create, say, a ProcessManagerMessage that will be > > > consumed by another set of endpoints. Ideally I want those endpoints > > > to reside in the same process. I would also want to be able to set the > > > number of threads for each endpoint. > > > > Also, I would like to reuse an already instantiated Windsor > > > Container. > > > > I am taking an programmatic approach for configuring the endpoints. > > > > What would I use to set this up? > > > > Should I use a DefaultHost for each endpoint? > > > Should I create a bootstrapper for each endpoint? > > > > Thankful for any help. > > > > -- > > > 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]<rhino-tools-dev%2Bunsubscribe@ > > > googlegroups.com> > > > . > > > 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 > athttp://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.
