Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 85578 invoked from network); 27 Sep 2010 14:16:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Sep 2010 14:16:41 -0000 Received: (qmail 73490 invoked by uid 500); 27 Sep 2010 14:16:41 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 73447 invoked by uid 500); 27 Sep 2010 14:16:40 -0000 Mailing-List: contact commits-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 commits@camel.apache.org Received: (qmail 73440 invoked by uid 99); 27 Sep 2010 14:16:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Sep 2010 14:16:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Sep 2010 14:16:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CDDD623888D2; Mon, 27 Sep 2010 14:16:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1001753 - /camel/trunk/camel-core/src/main/java/org/apache/camel/Exchange.java Date: Mon, 27 Sep 2010 14:16:19 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100927141619.CDDD623888D2@eris.apache.org> Author: davsclaus Date: Mon Sep 27 14:16:19 2010 New Revision: 1001753 URL: http://svn.apache.org/viewvc?rev=1001753&view=rev Log: CAMEL-3157: Added more comments to Exchange API Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/Exchange.java Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/Exchange.java URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/Exchange.java?rev=1001753&r1=1001752&r2=1001753&view=diff ============================================================================== --- camel/trunk/camel-core/src/main/java/org/apache/camel/Exchange.java (original) +++ camel/trunk/camel-core/src/main/java/org/apache/camel/Exchange.java Mon Sep 27 14:16:19 2010 @@ -57,6 +57,12 @@ import org.apache.camel.spi.UnitOfWork; * Camel components. *
* See also this FAQ entry for more details. + *


+ * The {@link ExchangePattern Message Exchange Pattern} and the {@link #getIn()} and {@link #getOut()} methods + * are not strictly mapped. For example if the MEP is {@link org.apache.camel.ExchangePattern#InOnly} then + * you can still invoke the {@link #getOut()} method. The {@link ExchangePattern Message Exchange Pattern} is + * essentially just a flag to indicate the message pattern. That means you can still set an out message using + * the {@link #getOut()} method despite the pattern is {@link org.apache.camel.ExchangePattern#InOnly}. * * @version $Revision$ */