Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B20D710F76 for ; Wed, 5 Jun 2013 11:35:08 +0000 (UTC) Received: (qmail 47175 invoked by uid 500); 5 Jun 2013 11:35:07 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 46429 invoked by uid 500); 5 Jun 2013 11:35:04 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 46413 invoked by uid 99); 5 Jun 2013 11:35:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 11:35:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 11:34:57 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 90AAB23888E3; Wed, 5 Jun 2013 11:34:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1489818 - in /cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm: RMManagerConfigurationTest.java feature.xml Date: Wed, 05 Jun 2013 11:34:37 -0000 To: commits@cxf.apache.org From: ay@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130605113437.90AAB23888E3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ay Date: Wed Jun 5 11:34:37 2013 New Revision: 1489818 URL: http://svn.apache.org/r1489818 Log: add a beans example for ws-rm maxRetry Modified: cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerConfigurationTest.java cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/feature.xml Modified: cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerConfigurationTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerConfigurationTest.java?rev=1489818&r1=1489817&r2=1489818&view=diff ============================================================================== --- cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerConfigurationTest.java (original) +++ cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerConfigurationTest.java Wed Jun 5 11:34:37 2013 @@ -24,6 +24,7 @@ import java.util.Collection; import org.apache.cxf.Bus; import org.apache.cxf.BusFactory; import org.apache.cxf.bus.spring.SpringBusFactory; +import org.apache.cxf.ws.rm.manager.RetryPolicyType; import org.apache.cxf.ws.rm.persistence.RMMessage; import org.apache.cxf.ws.rm.persistence.RMStore; import org.apache.cxf.ws.rm.v200702.Identifier; @@ -72,6 +73,11 @@ public class RMManagerConfigurationTest bus = factory.createBus("org/apache/cxf/ws/rm/feature.xml"); RMManager manager = bus.getExtension(RMManager.class); verifyManager(manager); + + // verify additional properties not verified by verifyManager. + RetryPolicyType rmrp = manager.getSourcePolicy().getRetryPolicy(); + assertNotNull(rmrp); + assertEquals(3, rmrp.getMaxRetries()); } private void verifyManager(RMManager manager) { Modified: cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/feature.xml URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/feature.xml?rev=1489818&r1=1489817&r2=1489818&view=diff ============================================================================== --- cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/feature.xml (original) +++ cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/feature.xml Wed Jun 5 11:34:37 2013 @@ -41,6 +41,7 @@ http://www.springframework.org/schema/be +