Skip to content

Commit

Permalink
Fixing newbie git mistake. Adding file that should have been included…
Browse files Browse the repository at this point in the history
… in last commit.
  • Loading branch information
Kenneth Baltrinic committed Feb 8, 2011
1 parent b5b797e commit d86986e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Rhino.ServiceBus/Hosting/RhinoQueuesHostConfiguration.cs
@@ -0,0 +1,23 @@
using System.Collections.Generic;
using Castle.Core.Configuration;

namespace Rhino.ServiceBus.Hosting
{
public class RhinoQueuesHostConfiguration : HostConfiguration
{
private string Path { get; set; }

public HostConfiguration StoragePath(string path)
{
Path = path;
return this;
}
protected override void PopulateBusConfiguration(MutableConfiguration busConfig)
{
base.PopulateBusConfiguration(busConfig);

if (string.IsNullOrEmpty(Path) == false)
busConfig.Attribute("path", Path);
}
}
}

0 comments on commit d86986e

Please sign in to comment.