0
在NSB 2.6中,当您定义发布者时,您可以指定<DBSubscriptionStorageConfig/>
配置部分以允许发布者将订阅存储在数据库中。NServiceBus 3.0端点不会创建乌鸦db存储
在NSB 3.0中,我没有看到指定raven db存储订阅的方法。我曾假设当发布者首次启动它时会为它自己创建一个raven db store。我已经看到这与其他3.0端点。但是,使用特定的发布者端点进行部署时,它不会创建raven db存储。
任何人都可以指向我应该检查的东西配置是否正确?
我的端点配置:
internal class EndpointConfig : IConfigureThisEndpoint, AsA_Publisher, IWantCustomInitialization
{
public void Init()
{
Configure.With()
.XmlSerializer()
.DefiningEventsAs(t => t.Namespace != null && t.Namespace.EndsWith("Events", StringComparison.CurrentCulture));
}
}
我的应用程序配置:除非您在精简版谱运行
<MessageForwardingInCaseOfFaultConfig ErrorQueue="error"/>
<UnicastBusConfig ForwardReceivedMessagesTo="audit" />
非常感谢
谢谢安德烈亚斯我在lite配置文件下运行。 – 2012-03-23 09:41:08