You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2009/12/17 20:21:55 UTC

[jira] Resolved: (AMQNET-225) Make PrefetchPolicy a property of IConnection for easier unit testing against NMS ActiveMQ

     [ https://issues.apache.org/activemq/browse/AMQNET-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQNET-225.
---------------------------------

    Resolution: Fixed

I've made both Prefetch and Redelivery policy properties configurable through the URI options.  

nms.PrefetchPolicy.*
nms.RedeliveryPolicy.* 

Applied in trunk and the 1.2.x branch

> Make PrefetchPolicy a property of IConnection for easier unit testing against NMS ActiveMQ
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQNET-225
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-225
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: NMS
>    Affects Versions: 1.2.0
>            Reporter: Mark Gellings
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> Make PrefetchPolicy a property of IConnection for easier unit testing against Apache.NMS.ActiveMQ.Connection class. 
> If a prefetch policy is set in code right now, the IConnection needs to be casted to Connection.  This breaks tests mocking a Connection with IConnection.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.