It's not just RemoteAppDomainHost but other host types as well. Essentially you are correct. It's to create or purge the queues and eliminate any typo's and reduce misconfiguration from doubled up/hand coded values.
On Thursday, September 22, 2011, Corey Kaylor <[email protected]> wrote: > I guess I should more specifically, what you're trying to accomplish? Is it to purge the queues on startup? > > On Wed, Sep 21, 2011 at 6:32 AM, Corey Kaylor <[email protected]> wrote: >> >> If you're using RemoteAppDomainHost, would calling the InitialDeployment method suffice? >> >> On Wed, Sep 21, 2011 at 4:36 AM, Michael Lyons <[email protected]> wrote: >>> >>> Is there anyway to get the RSB endpoints set in the configuration file >>> before the service bus has started? >>> >>> This is so that I can use the endpoint values to create my queues like >>> in the starbucks examples, but without doubling up on the values (eg. >>> In code and in a config file or in app settings and rhino service bus >>> settings). >>> >>> Example: >>> >>> var baristaLoadBalancer = new >>> RemoteAppDomainHost(typeof(CastleBootStrapper).Assembly, >>> "BaristaLoadBalancer.config"); >>> >>> PrepareQueues.Prepare(baristaLoadBalancer.Configuration.Endpoint, >>> QueueType.LoadBalancer); >>> PrepareQueues.Prepare(baristaLoadBalancer.Configuration.AcceptingWorkEndpoint, >>> QueueType.LoadBalancer); >>> >>> baristaLoadBalancer.Start(); >>> Console.WriteLine("Barista load balancer has started"); >>> >>> var barista = new >>> RemoteAppDomainHost(typeof(BaristaBootStrapper)).Configuration("Barista.config"); >>> >>> PrepareQueues.Prepare(barista.Configuration.Endpoint, >>> QueueType.Standard); >>> >>> barista.Start(); >>> Console.WriteLine("Barista has started"); >>> >>> -- >>> 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%[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] < rhino-tools-dev%[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] < rhino-tools-dev%[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.
