Nservicebus 6 - Disable persistence

133 views Asked by At

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.

1

There are 1 answers

1
jinskeep On

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.