Oh, guess I figured it out?

In my bootstrap I have to override
ConfigureBusFacility(RhinoServiceBusFacility facility)
and simply do:

facility.AddMessageModule<T>();
base.ConfigureBusFacility(facility);

public class ProxyBootstrap : AbstractBootStrapper
    {
        public override void
ConfigureBusFacility(Rhino.ServiceBus.Impl.RhinoServiceBusFacility
facility)
        {
            facility.AddMessageModule<TestMsgModule>();
            base.ConfigureBusFacility(facility);
        }
    }

Kind regards,

Dirk

On 17 mrt, 11:43, Dirk Schuermans <[email protected]> wrote:
> Hey everyone,
>
> Most of the discussion here in this group talk about stuff that
> override certain functionality in RSB.
>
> But I'm having a hard time figuring out how to do this exactly.
>
> Let's take for example the IMessageModule.
>
> I know I can create a class and have it implement the IMessageModule
> interface, but I can't figure out where to tell RSB to use my custom
> message module instead of the default one and where I have to put the
> class exactly.
>
> If anyone could point me in the right direction I'd highly appreciate
> it.
>
> Kind regards,
>
> Dirk

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