activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <jira+amq...@apache.org>
Subject [jira] Resolved: (AMQNET-225) Make PrefetchPolicy a property of IConnection for easier unit testing against NMS ActiveMQ
Date Thu, 17 Dec 2009 19:21:55 GMT

     [ 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.


Mime
View raw message