Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6706143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:29:08+00:00 2026-05-26T07:29:08+00:00

I’ve read a lot of examples/tutorials (incl. Ayende’s Alexandria on MSDN). But just getting

  • 0

I’ve read a lot of examples/tutorials (incl. Ayende’s Alexandria on MSDN).

But just getting somewhat updated assemblies have proven to be an obstacle in itself. After getting the correct version of Castle.Windsor – it cannot find the correct section in the app.config file. The syntax in both Rhino Service Bus and the CastleBootstrapper has been changed as well – and I’m now totally confused. The ‘documentation’ on Hibernating Rhinos is really not helping me get started.

Could anyone please help me a working sample with Rhino Service Bus with either Castle Windsor v. 3.0 (beta) or 2.5.3, point me at something already online or just giving me a step-by-step pointers on what I need to get up and running?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:29:09+00:00Added an answer on May 26, 2026 at 7:29 am

    after downloading the latest Rhino-ESB bits from github (https://github.com/hibernating-rhinos/rhino-esb) and building it, it’s pretty straightforward to get started.

    I have a asp.net MVC application which communicates with a backend through Rhino-ESB.

    On the asp.net MVC side:

    On global.asax.cs:

    private IWindsorContainer _container;
    
    protected void Application_Start()
    {
        _container = new WindsorContainer();
        new RhinoServiceBusConfiguration().UseCastleWindsor(_container).Configure();
        _container.Install(new YourCustomInstaller());
        //Don't forget to start the bus
        _container.Resolve<IStartableServiceBus>().Start();
        ControllerBuilder.Current.SetControllerFactory(new WindsorControllerFactory(_container));
    }
    

    Note that YourCustomInstaller must implement IWindsorInstaller and you register your controllers with the container in the Installmethod:

    public void Install(Castle.Windsor.IWindsorContainer container, Castle.MicroKernel.SubSystems.Configuration.IConfigurationStore store)
    {
        container.Register(Component
           .For<HomeController>().LifeStyle.PerWebRequest.ImplementedBy<HomeController>());
    

    Also note that the WindsorControllerFactory internally delegates controller creation to the container:

    protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)
        {
            if (controllerType == null)
                return null;
            return (IController)this.container.Resolve(controllerType);
        }
    

    Last but not least, provide the configuration on your web.config

    <configSections>
        <section name="rhino.esb" type="Rhino.ServiceBus.Config.BusConfigurationSection, Rhino.ServiceBus"/>
      </configSections>
      <rhino.esb>
        <bus threadCount="1"
             numberOfRetries="5"
             endpoint="rhino.queues://localhost:31316/Client"
             queueIsolationLevel="ReadCommitted"
             name="Client"/>
        <messages>
          <add name="YourMessagesNamespace"endpoint="rhino.queues://localhost:31315/Backend"/>
        </messages>
      </rhino.esb>
    

    This configuration assumes that the backend runs a queue in localhost:31315 and the client runs its queue on localhost:31316.

    On the backend side:
    assuming we’re running it as a console application,

    static void Main(string[] args)
            {
                IWindsorContainer container;
                container = new WindsorContainer();
                new RhinoServiceBusConfiguration()
                    .UseCastleWindsor(container)
                    .Configure();
                var host = new RemoteAppDomainHost(typeof(YourBootstrapper));
                host.Start();
    
                Console.WriteLine("Starting to process messages");
                Console.ReadLine();
    

    Notice that YourBootstrapperclass implements CastleBootstrapper

    public class YourBootstrapper: Rhino.ServiceBus.Castle.CastleBootStrapper
        {
            protected override void ConfigureContainer()
            {
                Container.Register(Component.For<OneOfYourMessages>());
            }
        }
    

    in which we’re registering a consumer for OneOfYourMessages

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I know there's a lot of other questions out there that deal with this
Seemingly simple, but I cannot find anything relevant on the web. What is the
I want to construct a data frame in an Rcpp function, but when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.