NServiceBus/NServiceBus — Issue #153: CastleWindsorBuild cannot build components configured after first call to Build() 
Author: mjrichardson
Created: 2011-11-11 06:06:33+00:00
State: open

When the UnicastBus is being resolved from the CastleWindsorObjectBuilder, the Transport property is not being set. This results in a null-reference exception when attempting to start the bus.

The cause appears to be, in the current implementation of the CastleWindsorObjectBuilder, any components configured _after_ the _first_ call to the Build method will not be registered with the underlying container; and hence are not available for property-injection in this case.