From camel-commits-return-1603-apmail-activemq-camel-commits-archive=activemq.apache.org@activemq.apache.org Tue Mar 04 17:12:25 2008 Return-Path: Delivered-To: apmail-activemq-camel-commits-archive@locus.apache.org Received: (qmail 32766 invoked from network); 4 Mar 2008 17:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 17:12:25 -0000 Received: (qmail 70574 invoked by uid 500); 4 Mar 2008 17:12:21 -0000 Delivered-To: apmail-activemq-camel-commits-archive@activemq.apache.org Received: (qmail 70540 invoked by uid 500); 4 Mar 2008 17:12:21 -0000 Mailing-List: contact camel-commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-commits@activemq.apache.org Received: (qmail 70531 invoked by uid 99); 4 Mar 2008 17:12:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 09:12:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 17:11:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 427DC1A9832; Tue, 4 Mar 2008 09:11:54 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r633552 - in /activemq/camel/trunk/components/camel-spring/src/test: java/org/apache/camel/component/dataset/ resources/org/apache/camel/component/dataset/ Date: Tue, 04 Mar 2008 17:11:52 -0000 To: camel-commits@activemq.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080304171154.427DC1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jstrachan Date: Tue Mar 4 09:11:50 2008 New Revision: 633552 URL: http://svn.apache.org/viewvc?rev=633552&view=rev Log: added an example load test Added: activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/ activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/DataSetTest.java (with props) activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/ activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/DataSetTest-context.xml (with props) Added: activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/DataSetTest.java URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/DataSetTest.java?rev=633552&view=auto ============================================================================== --- activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/DataSetTest.java (added) +++ activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/DataSetTest.java Tue Mar 4 09:11:50 2008 @@ -0,0 +1,37 @@ +/** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.dataset; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.mock.MockEndpoint; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests; + +/** + * @version $Revision: 1.1 $ + */ +@ContextConfiguration +public class DataSetTest extends AbstractJUnit38SpringContextTests { + @Autowired + protected CamelContext camelContext; + + public void testRun() throws Exception { + MockEndpoint.assertIsSatisfied(camelContext); + } +} \ No newline at end of file Propchange: activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/dataset/DataSetTest.java ------------------------------------------------------------------------------ svn:eol-style = native Added: activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/DataSetTest-context.xml URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/DataSetTest-context.xml?rev=633552&view=auto ============================================================================== --- activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/DataSetTest-context.xml (added) +++ activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/DataSetTest-context.xml Tue Mar 4 09:11:50 2008 @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + Propchange: activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/dataset/DataSetTest-context.xml ------------------------------------------------------------------------------ svn:eol-style = native