Hi Corie I'm trying to get my head around the code for the 1st time atm - the code in the bootstrapper should mean that i don't need to register the types as it is already being taken care of here right?
The part that's confusing me is that the container they are being registered against is the container which the ESB configures internally. My types are registered against the container in my app. am i missing somehting here? is there any way of telling r.sb to use my container or something like that? w:// On Wed, Feb 2, 2011 at 3:17 PM, Corey Kaylor <[email protected]> wrote: > This is what the bootstrapper does. > > container.Register ( > > AllTypes > > .FromAssembly (assembly) > > .Where (type => > > typeof > (IMessageConsumer).IsAssignableFrom (type) && > > typeof > (IOccasionalMessageConsumer).IsAssignableFrom (type) == false && > > > IsTypeAcceptableForThisBootStrapper (type) //probably wouldn't need this for > your own registration > > ) > > .Configure (registration => > > { > > registration.LifeStyle.Is > (LifestyleType.Transient); > > ConfigureConsumer > (registration); //to full name > > }) > > ); > > -- > 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. > -- Cheers, w:// -- 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.
