Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application testable Delivery - API Change #65

Merged
merged 1 commit into from
May 29, 2013
Merged

Application testable Delivery - API Change #65

merged 1 commit into from
May 29, 2013

Commits on May 25, 2013

  1. Application testable Delivery - API Change

      * Add Ack/Nack/Reject to the Channel
      * Add Delivery.Acknowledger interface delegating to the channel
      * Drop Delivery.Cancel
    
    By using an Acknowledger delegate, it remains possible to multiplex
    deliveries from multiple channels to the same handler without requiring
    the application to keep a reverse mapping from delivery back to the
    source channel for the common case of Acks.
    
    Application tests can now simulate deliveries, and track acknowledgments
    per source channel via a custom implementation.
    
    Remove the `Cancel` delegate in Delivery.  Use the Channel directly to
    cancel a subscription.
    
    To handle Cancel, including other richer interactions with the Channel
    in application consumers, the channel reference should be passed along
    with the delivery in an application specific type to the consumer.
    Sean Treadway committed May 25, 2013
    Configuration menu
    Copy the full SHA
    f839caf View commit details
    Browse the repository at this point in the history