<component id="MyComponent" type="some type">

    </component>

On Mon, Apr 13, 2009 at 9:01 PM, nightwatch77 <[email protected]>wrote:

>
> Hi, suppose we configure RSB facility with windsor XML configuration
> like below. I'm also configuring MyComponent with BusEndpoint property
> that should be set to IServiceBus instance configured in rhino.esb
> facility. How to initialize that property??? Does rhino facility give
> any ID to components it registers in container? Or did I get it
> completely wrong and IServiceBus should be resolved in some other way?
> Thx
> R
>
> <castle>
> <facilities>
> <facility id="rhino.esb" >
>                        <bus threadCount="1"
>           numberOfRetries="5"
>           endpoint="msmq://localhost/init_test"
>             />
>                        <messages>
>                                <add name="Rhino.ServiceBus.Tests"
>             endpoint="msmq://localhost/init_test"/>
>                        </messages>
>                </facility>
> </facilities>
> <components>
>     <component id="MyComponent" type="some type">
>        <parameters>
>           <BusEndpoint>${What to put here to set BusEndpoint property
> to RSB bus?}</BusEndpoint>
>        </parameters>
>     </component>
> </components>
> </castle>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to