Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 65649 invoked from network); 6 Mar 2008 18:13:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2008 18:13:54 -0000 Received: (qmail 31859 invoked by uid 500); 6 Mar 2008 18:13:51 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 31768 invoked by uid 500); 6 Mar 2008 18:13:50 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 31759 invoked by uid 99); 6 Mar 2008 18:13:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 10:13:50 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.200.174] (HELO wf-out-1314.google.com) (209.85.200.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 18:13:15 +0000 Received: by wf-out-1314.google.com with SMTP id 27so2713684wfd.26 for ; Thu, 06 Mar 2008 10:13:25 -0800 (PST) Received: by 10.142.77.11 with SMTP id z11mr87587wfa.98.1204827204788; Thu, 06 Mar 2008 10:13:24 -0800 (PST) Received: by 10.143.37.21 with HTTP; Thu, 6 Mar 2008 10:13:24 -0800 (PST) Message-ID: <5cfa0ae70803061013p5662dd70pa13b031147186793@mail.gmail.com> Date: Thu, 6 Mar 2008 12:13:24 -0600 From: "Kevin Ross" To: camel-user@activemq.apache.org Subject: Multiple camel contexts/Unit Testing/DOT graph generation and General Strategy for MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13545_20906609.1204827204776" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13545_20906609.1204827204776 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline So I'm working my way through camel, implementing our necessary routes and processors to solve our workflow needs. For each route I build, I have been creating a different to the same file with a unique id named appropriately for the purpose. So far, I have done this so I may easily unit test the results of each route and it has worked well. As my routes get more and more complex, I was interested in seeing the generated DOT graph. Copying the IntegrationTest.java from the camel-spring tests, I attempted to use the following line: Main.main( "-a", DEFAULT_CAMEL_CONTEXT_RESOURCE_PATH, "-duration", "4s", "-o", "target" ); Checking the generated dot file within target, I see the following content: digraph CamelRoutes { node [style = "rounded,filled", fillcolor = yellow, fontname="Helvetica-Oblique"]; } Am I missing something? Is there any reason why having multiple contexts would cause an issue? Is this going to impact the total workflow when we have completed each part? Thanks in advance, Kevin ------=_Part_13545_20906609.1204827204776--