Oh, I know. Try registering the class as: kernel.Register(Component.Of<Worker>());
And see what happens. On Wed, Jun 2, 2010 at 6:55 PM, JakeS <[email protected]> wrote: > It shows that there are no handlers for > typeof(ConsumerOf<VideoToEncode>). > > But why? I suspect this is due to my inexperience with IOC/Windsor. > I have my worker class inheriting ConsumerOf<VideoToEncode>. What > else do I need to do to register that with the bus? > > On Jun 2, 10:34 am, Ayende Rahien <[email protected]> wrote: > > This is the key: > > * Got message RhinoESBTest.Core.Messages.VideoToEncode, but had no > consumers > > for it* > > > > The problem is not trying to figure out why this isn't working. > > > > Go to your Windsor container and ask it: > > > > kernel.GetAssignableHandlers(typeof(ConsumerOf<VideoMessage>)); > > * > > * > > What do you get? > > > > > > > > On Wed, Jun 2, 2010 at 5:50 PM, JakeS <[email protected]> wrote: > > > Thank you for the reminder. > > > > > When I start up the encoder executable I see the following: > > > Rhino.ServiceBus.Impl.DefaultServiceBus Starting the bus for Uri: > > > msmq://ww09/videotoencode > > > Rhino.ServiceBus.Impl.DefaultServiceBus Initating subscription storage > > > as message module: Rhino.ServiceBus.Msmq.MsmqSubscriptionStorage > > > Rhino.ServiceBus.Impl.DefaultServiceBus Initating message module: > > > Rhino.ServiceBus.MessageModules.MessageLoggingModule > > > Rhino.ServiceBus.Msmq.MsmqSubscriptionStorage Initializing msmq > > > subscription storage on: msmq://localhost/videotoencode;subscriptions > > > Rhino.ServiceBus.Msmq.AbstractMsmqListener Starting msmq transport on: > > > Uri: msmq://ww09/videotoencode > > > > > Starting the requester and making a single request gives me this: > > > > > Rhino.ServiceBus.Impl.DefaultServiceBus Starting the bus for Uri: > > > msmq://ww09/videotoencode > > > Rhino.ServiceBus.Impl.DefaultServiceBus Initating subscription storage > > > as message module: Rhino.ServiceBus.Msmq.MsmqSubscriptionStorage > > > Rhino.ServiceBus.Impl.DefaultServiceBus Initating message module: > > > Rhino.ServiceBus.MessageModules.MessageLoggingModule > > > Rhino.ServiceBus.Msmq.MsmqSubscriptionStorage Initializing msmq > > > subscription storage on: msmq://localhost/videotoencode;subscriptions > > > Rhino.ServiceBus.Msmq.AbstractMsmqListener Starting msmq transport on: > > > Uri: msmq://ww09/videotoencode > > > Rhino.ServiceBus.Msmq.AbstractMsmqListener Got message > > > RhinoESBTest.Core.Messages.VideoToEncode on msmq://ww09/videotoencode > > > from null://middle/of/nowhere?turn=left > > > Rhino.ServiceBus.Msmq.AbstractMsmqListener Got message > > > RhinoESBTest.Core.Messages.VideoToEncode on msmq://ww09/videotoencode > > > from null://middle/of/nowhere?turn=left > > > Rhino.ServiceBus.Msmq.OpenedQueue Sending message > > > Rhino.ServiceBus.Messages.MessageArrivedMessage to WW09\private$ > > > \videotoencodelog, reply: no response queue > > > Rhino.ServiceBus.Impl.DefaultServiceBus Got message > > > RhinoESBTest.Core.Messages.VideoToEncode, but had no consumers for it > > > Rhino.ServiceBus.Msmq.OpenedQueue Sending message > > > RhinoESBTest.Core.Messages.VideoToEncode to WW09\private$ > > > \videotoencode, reply: WW09\private$\videotoencode > > > Rhino.ServiceBus.Msmq.MsmqTransport Send message > > > RhinoESBTest.Core.Messages.VideoToEncode to Uri: > msmq://ww09/videotoencode > > > Rhino.ServiceBus.Msmq.OpenedQueue Sending message > > > Rhino.ServiceBus.Messages.MessageProcessingCompletedMessage to > > > WW09\private$\videotoencodelog, reply: no response queue > > > Rhino.ServiceBus.Msmq.AbstractMsmqListener Got message Shutdown bus on > > > msmq://ww09/videotoencode from null://middle/of/nowhere?turn=left > > > > > On Jun 2, 9:32 am, Corey Kaylor <[email protected]> wrote: > > > > log4net.XmlConfigurator.Configure() in your startup code. > > > > > -- > > > 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]> > <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]<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.
