Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B15E105F1 for ; Tue, 30 Apr 2013 04:51:01 +0000 (UTC) Received: (qmail 26835 invoked by uid 500); 30 Apr 2013 04:51:00 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 26802 invoked by uid 500); 30 Apr 2013 04:51:00 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 26789 invoked by uid 99); 30 Apr 2013 04:51:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 04:51:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-ia0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 04:50:54 +0000 Received: by mail-ia0-f171.google.com with SMTP id r13so112578iar.16 for ; Mon, 29 Apr 2013 21:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=GR1B3qcBMpbTjSNvppomn9f3rtrU5YqdSti19m01kug=; b=tZVl+Yv9m56d6/qm36BjuW5gQIiFJsUFdhYA+7BU/6v8hMtRYtsn2LYrZYFlDVANX2 PHn2ZigIZP9/5mAbjLZh3jCMQUBSzKuL5g7jgmXprT3Fm+ffMmzBaX1oKJsBV1NVn1GQ CuUsI5SAoZss+ocnFRwt1Pxnrq+nifdfnghHfS0yJu914rVchJVtdNxZJGmru5A2vlWm fV3LD8PCeFNxA/cw5+1d3U3EqguCPRFisDqeyuTjdsEXaCeUyK7Cu9EwQiuFMFwYchPr T5HycJ7x/ioACaJhLmHbdDbCMeLo1roElnRiAYK8VK6YWIChaK9Ykp7g3ALUQdgRMA3i eeHA== X-Received: by 10.42.204.79 with SMTP id fl15mr30643379icb.57.1367297433710; Mon, 29 Apr 2013 21:50:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.53.232 with HTTP; Mon, 29 Apr 2013 21:50:13 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Tue, 30 Apr 2013 06:50:13 +0200 Message-ID: Subject: Re: Camel with BeanFactory To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi What do you mean HAVE to use BeanFactory? Do you mean that camel-spring source code must not use ApplicationContext or any of the other Spring public APIs ? Well you can write you own camel module. Or just not use camel-spring at all, and just use camel-core which is Java code and has not dependencies to Spring. On Mon, Apr 29, 2013 at 7:21 PM, Kalyan Dev wrote: > Hello, > > I understand by skimming over Camel's source code that it uses > ApplicationContext everywhere. > > In a project that I'm working on, I HAVE to use BeanFactory only. Is it > possible to initialize and use Camel's capabilities in a BeanFactory > instead of ApplicationContext at all ? > > If so, what are the classes that I need to overwrite. Any documentation on > this will be of great help. > > Regards, > Kalyan -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen