Skip to content

Commit

Permalink
subscription Messagecount should be a readonly property. fixes Azure#61
Browse files Browse the repository at this point in the history
Currently we have subscription.setMessageCount()  which I feel doesn't make sense.
Also from .net msdn doc this is a readonly property
http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.servicebus.messaging.subscriptiondescription.messagecount.aspx
  • Loading branch information
lodejard committed Nov 19, 2011
1 parent d8c76f9 commit 3b854cf
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ public Long getMessageCount() {
return getModel().getMessageCount();
}

public Subscription setMessageCount(Long value) {
getModel().setMessageCount(value);
return this;
}

public Integer getMaxDeliveryCount() {
return getModel().getMaxDeliveryCount();
}
Expand Down

0 comments on commit 3b854cf

Please sign in to comment.