Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBB3E17559 for ; Fri, 6 Feb 2015 06:37:34 +0000 (UTC) Received: (qmail 35681 invoked by uid 500); 6 Feb 2015 06:37:34 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 35640 invoked by uid 500); 6 Feb 2015 06:37:34 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 35630 invoked by uid 99); 6 Feb 2015 06:37:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2015 06:37:34 +0000 Date: Fri, 6 Feb 2015 06:37:34 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-8293) Be more override-friendly in CamelTestSupport by returning interface type instead of concrete impl 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-8293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308700#comment-14308700 ] Claus Ibsen commented on CAMEL-8293: ------------------------------------ Btw there is also camel-testng do you mind doing the same change in that module? > Be more override-friendly in CamelTestSupport by returning interface type instead of concrete impl > -------------------------------------------------------------------------------------------------- > > Key: CAMEL-8293 > URL: https://issues.apache.org/jira/browse/CAMEL-8293 > Project: Camel > Issue Type: Improvement > Components: camel-test > Affects Versions: 2.14.1 > Reporter: David J. M. Karlsen > > CamelTestSupport has a > protected JndiRegistry createRegistry() > method. > It would be better if it returned the Generic type Registry instead - that way you can override the method and return a SimpleRegistry for your tests without having to do this in createCamelContext() which defats createRegistry's purpose. -- This message was sent by Atlassian JIRA (v6.3.4#6332)