public ChangeStore SelectChangeStore(IDurableOptionSchema schema) { return schema.IsDurable ? durableChangeStore : nullChangeStore; }
ChangeStore SelectChangeStore(IDurableOptionSchema durableOptions) { return changeStoreSelector.SelectChangeStore(durableOptions); }
ReceiveMessageCache CreateReceiveMessageCache(PersistenceUseType useType, EndpointAddress address, IDurableOptionSchema durableOptions) { return new ReceiveMessageCache(SelectChangeStore(durableOptions), address, useType, checkPointStrategy); }
public SendMessageCache BuildSendCache(PersistenceUseType useType, EndpointAddress address, IDurableOptionSchema durableOptions) { var cache = CreateSendMessageCache(useType, address, SelectChangeStore(durableOptions)); cache.Initialise(); return cache; }
public ReceiveMessageCache BuildReceiveCache(PersistenceUseType useType, EndpointAddress address, IDurableOptionSchema durableOptions) { var cache = CreateReceiveMessageCache(useType, address, durableOptions); cache.Initialise(); return cache; }