Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE0CD2BCB for ; Sat, 7 May 2011 08:59:42 +0000 (UTC) Received: (qmail 13660 invoked by uid 500); 7 May 2011 08:59:42 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 13627 invoked by uid 500); 7 May 2011 08:59:42 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 13619 invoked by uid 99); 7 May 2011 08:59:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 May 2011 08:59:42 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 May 2011 08:59:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6CB15C5620 for ; Sat, 7 May 2011 08:59:03 +0000 (UTC) Date: Sat, 7 May 2011 08:59:03 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <1663042498.29954.1304758743442.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <994173139.29949.1304758743152.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-3954) camel-test - Should use lazy loading of type converters to speedup unit testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030299#comment-13030299 ] Claus Ibsen commented on CAMEL-3954: ------------------------------------ See nabble http://camel.465427.n5.nabble.com/Conceptual-correctness-of-using-Camel-Unit-Tests-tp4372286p4372286.html > camel-test - Should use lazy loading of type converters to speedup unit testing > ------------------------------------------------------------------------------- > > Key: CAMEL-3954 > URL: https://issues.apache.org/jira/browse/CAMEL-3954 > Project: Camel > Issue Type: Improvement > Components: camel-test, tests > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.8.0 > > > This makes unit tests faster with Camel. > End users can override the {{isLazyLoadingTypeConverter}} method from {{CamelTestSupport}} if they want to control the behavior. > If you return false, then its what it used to be before this change. > Notice that Camel will still by default always load all type converters on startup. > By enabling lazy loading during testing it allows most unit tests to run faster, in case they dont need any additional type converter from other camel components. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira