Permalink
Browse files

AutofacBuilder message module registration fix

  • Loading branch information...
1 parent d05d9f5 commit a3744848eaabb23a4f5fb2565e82135e70847278 @mattburton mattburton committed May 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rhino.ServiceBus.Autofac/AutofacBuilder.cs
@@ -62,8 +62,8 @@ public void RegisterDefaultServices(IEnumerable<Assembly> assemblies)
foreach (var module in config.MessageModules)
{
builder.RegisterType(module)
- .Named<string>(module.FullName)
- .As(typeof(IMessageModule))
+ .Named<IMessageModule>(module.FullName)
+ .As<IMessageModule>()
.SingleInstance();
}
builder.Update(container);

0 comments on commit a374484

Please sign in to comment.