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 76EC49AEF for ; Tue, 10 Jan 2012 02:02:41 +0000 (UTC) Received: (qmail 2928 invoked by uid 500); 10 Jan 2012 02:02:41 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 2850 invoked by uid 500); 10 Jan 2012 02:02:40 -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 2841 invoked by uid 99); 10 Jan 2012 02:02:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 02:02:39 +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 jason.dillon@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 02:02:32 +0000 Received: by yenm6 with SMTP id m6so816013yen.32 for ; Mon, 09 Jan 2012 18:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=Fm0OKm/rqMn6BoBxy2EmynAZnoNtRzkSdqdOsWqG8sg=; b=a3QIBggkZltifPLpDepFOirJwjnaASNckV4OxHcAXYFHuyr+yEuj34uTocf+3K3SnR AY1ATFS6/fJpjmD9zqxSmYRfjjoa8LEe1BByaH4Uy3nCY2P9QaIFPVPUuiFLQY16aQSY lZuesg9ZtCPCxdqgyR9wtIl/zZgR+D+tQaMGE= Received: by 10.236.80.74 with SMTP id j50mr13341487yhe.2.1326160931771; Mon, 09 Jan 2012 18:02:11 -0800 (PST) Received: from [10.0.1.55] (c-98-248-96-179.hsd1.ca.comcast.net. [98.248.96.179]) by mx.google.com with ESMTPS id 32sm187892000ant.12.2012.01.09.18.02.08 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jan 2012 18:02:10 -0800 (PST) Sender: Jason Dillon Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: =?windows-1252?Q?Re=3A_Complex_app=85_1_context_or_many=3F?= From: Jason Dillon In-Reply-To: Date: Mon, 9 Jan 2012 18:02:07 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <94D8B940-484A-41C0-A9AE-98B17CEE1417@planet57.com> References: <4D6C0575-3557-40FF-B25E-2E1E16CDEE23@planet57.com> To: users@camel.apache.org X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org Thanks everyone for the feedback. --jason On Jan 8, 2012, at 3:20 AM, Christian M=FCller wrote: > For bigger applications we also use multiple contexts and bridge the > context via the Camel ActiveMQ component (batch and online requests) = or via > the Camel VM component (only online requests). > By splitting it into smaller parts each context is easier to = understand and > test. In addition, the development process scales better because each > developer has its own service/context/... with defined interfaces. My = 0,02 > $... >=20 > Best, > Christian >=20 > On Sun, Jan 8, 2012 at 12:53 AM, Jason Dillon = wrote: >=20 >> I'm wondering what the best practice is for a complex application, = where >> many sub-systems (some related, some not) are using camel to process >> messages, if it is best to have all of them share the same single >> CamelContext or if its better to have more than one CamelContext to >> partition the systems? >>=20 >> Any advise? >>=20 >> --jason