Invoking that method requires an explicit action from the developer.
Usually I start the bus by invoking
DefaultHost.Start<SomeBootStrapper>() and this method will never
execute deployment- or environmentvalidationactions. For me it seems
strange that you'll only get logqueues created if you use one of
several possible methods of starting the bus.
I would expect that the following slightly modified starbucks example
should create a logqueue as specified, but CreateLogQueuesAction is
never invoked.
customerHost.BusConfiguration(c => c.Bus("msmq://localhost/
starbucks.customer")
.Receive("Starbucks.Messages.Cashier", "msmq://
localhost/starbucks.cashier")
.Receive("Starbucks.Messages.Barista", "msmq://
localhost/starbucks.barista.balancer")
.Logging("msmq://localhost/starbucks.customerlogging")
)
;
customerHost.Start<CustomerBootStrapper>();
Regards,
Jørgen
On 13 Sep, 22:13, Corey Kaylor <[email protected]> wrote:
> Is there a problem with calling the Bootstrapper's method?
>
>
>
>
>
>
>
> On Mon, Sep 12, 2011 at 2:22 PM, Jørgen Løkke <[email protected]> wrote:
> > Ok, if you move the code to CreateLogQueuesAction would you also
> > refactor how the deploymentactions are executed? As of now you'll have
> > to invoke DefaultHost.InitialDeployment to run CreateLogQueuesAction
> > as it is executed indirectly via
> > BootStrapper.ExecuteDeploymentActions.
>
> > Regards,
> > Jørgen
>
> > On 12 Sep, 21:15, Corey Kaylor <[email protected]> wrote:
> > > I meant to move that code to the CreateLogQueuesAction, but it looks like
> > I
> > > forgot.
>
> > > On Mon, Sep 12, 2011 at 11:41 AM, Jørgen Løkke <[email protected]>
> > wrote:
> > > > The following code has been removed from MessageLoggingModule:
>
> > > > var endpoint = endpointRouter.GetRoutedEndpoint(logQueue);
> > > > var queueInfo = MsmqUtil.GetQueuePath(endpoint);
> > > > queueInfo.Create();
>
> > > > ..and now I cannot find a way to get RSB to create a logging queue if
> > > > the configuration has one specified.
>
> > > > Has the functionality been broken when refactoring to support rhino
> > > > queues or am I missing something?
>
> > > > Regards,
> > > > Jørgen
>
> > > > --
> > > > 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.
>
> > --
> > 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.
--
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.