Hari Subramaniam
Hari Subramaniam

Reputation: 1876

Nservicebus 6 - Disable persistence

Is there a way to disable persistence. I have a azure worker role endpoint that listens to events published on the azure service bus endpoint. So I do not want any persistence in my subscriber.

Upvotes: 0

Views: 137

Answers (1)

jinskeep
jinskeep

Reputation: 106

As far as I know there is not a way to "disable" persistance but you can use "InMemoryPersistence" which should accomplish the same thing.

I always use the "InMemoryPersistence" option if I have an endpoint that is just going to do a send as there is no reason to have persistence for these endpoints.

Upvotes: 1

Related Questions