I have a problem with NServiceBus: I have defined an endpoint config that implements IConfigureThisEndpoint
, but when I run the service with a generic host, it complains that the type cannot be cast to the namespace. Any idea why?
views:
62answers:
2
+1
A:
Sounds to me that you have "EndpointConfigurationType" specified in the config file. Can you verify is that is true, if so try to remove it and see if it solves your problem?
Andreas
2010-01-05 15:27:00
That's ok, I already found the answer - it's due to there being two IConfigureThisEndpoint namespaces in NSB.
Dmitri Nesteruk
2010-01-05 18:26:07
What version are you using? The current trunk have only one interface called IConfigureThisEndpoint.
Andreas
2010-01-05 20:12:06
A:
As it turns out, there are two namespaces called IConfigureEndpoint
in NServiceBus. I was using the wrong one - had to reference the ServiceHost EXE instead.
Dmitri Nesteruk
2010-01-05 18:25:32
Dmitri, are you using the trunk (unstable pre-alpha 2.1) or the 2.0 branch (release candidate 2 coming shortly, very stable) ?
Udi Dahan
2010-01-07 12:30:46