Yes services should be resolved.
How are you hosting the bus?
Either you must register the consumers on the container (Castle Windsor) or
follow the convention which (I think) scans the assembly containing the
Bootstrapper you are using for implementations of IMessageConsumer.
I manually register the consumers, so not sure about the conventions it
uses.

On Wed, Feb 2, 2011 at 6:17 AM, Wayne Douglas <codingvi...@googlemail.com>wrote:

> Thanks Mike
>
> that makes it a little clearer in my head :)
>
> One last question - should consumers have access to services registered on
> my container? When i have a service that i can use elsewhere in the project
> via the container injected into  a consumer, the consumer is never used.
> almost like it cant satisfy the constructor so it skips it?
>
>
> On Tue, Feb 1, 2011 at 12:49 PM, Mike Nichols <nichols.mik...@gmail.com>wrote:
>
>> The bus.Notify(msg) call is used in the case where there may not be any
>> subscribers.
>> The diff b/w Send() and Publish() is largely semantic...you 'send' a
>> command to do something , but you 'publish' events that have already
>> occured. Send is imperative while a Publish/Notify is declarative.
>>
>> On Tue, Feb 1, 2011 at 3:03 AM, Wayne Douglas <codingvi...@googlemail.com
>> > wrote:
>>
>>> Hi
>>>
>>> I need pointing in the right direction. This doesn't make sense to me -
>>> if the service sends a message - as i understand it - it shouldn't care less
>>> if there are subscribers or not no?
>>>
>>> Am i looking at this wrongly or is there a way of configuring it?
>>>
>>> Also - what is the difference between Send() and Publish()?
>>>
>>> cheers
>>>
>>> w://
>>>
>>> --
>>> 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 rhino-tools-dev@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> rhino-tools-dev+unsubscr...@googlegroups.com<rhino-tools-dev%2bunsubscr...@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 rhino-tools-dev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rhino-tools-dev+unsubscr...@googlegroups.com<rhino-tools-dev%2bunsubscr...@googlegroups.com>
>> .
>> 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 rhino-tools-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> rhino-tools-dev+unsubscr...@googlegroups.com<rhino-tools-dev%2bunsubscr...@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 rhino-tools-dev@googlegroups.com.
To unsubscribe from this group, send email to 
rhino-tools-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to