Created
February 23, 2016 04:14
-
-
Save dcomartin/84897ec3d53859186dea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void ConnectToSubscription() | |
{ | |
var bufferSize = 10; | |
var autoAck = true; | |
_subscription = _conn.ConnectToPersistentSubscription(STREAM, GROUP, EventAppeared, SubscriptionDropped, | |
User, bufferSize, autoAck); | |
} | |
private void SubscriptionDropped(EventStorePersistentSubscriptionBase eventStorePersistentSubscriptionBase, | |
SubscriptionDropReason subscriptionDropReason, Exception ex) | |
{ | |
ConnectToSubscription(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment