Return-Path: Delivered-To: apmail-activemq-camel-commits-archive@locus.apache.org Received: (qmail 43746 invoked from network); 15 Sep 2008 19:18:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 19:18:05 -0000 Received: (qmail 30815 invoked by uid 500); 15 Sep 2008 19:18:02 -0000 Delivered-To: apmail-activemq-camel-commits-archive@activemq.apache.org Received: (qmail 30797 invoked by uid 500); 15 Sep 2008 19:18:02 -0000 Mailing-List: contact camel-commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-commits@activemq.apache.org Received: (qmail 30788 invoked by uid 99); 15 Sep 2008 19:18:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 12:18:02 -0700 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, 15 Sep 2008 19:17:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C524B238899E; Mon, 15 Sep 2008 12:17:44 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r695586 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java Date: Mon, 15 Sep 2008 19:17:44 -0000 To: camel-commits@activemq.apache.org From: janstey@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080915191744.C524B238899E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: janstey Date: Mon Sep 15 12:17:44 2008 New Revision: 695586 URL: http://svn.apache.org/viewvc?rev=695586&view=rev Log: CAMEL-886 - Removed requirement for contextPath attribute on jaxb dataformat. This lines up the Java and Spring DSLs better. Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java?rev=695586&r1=695585&r2=695586&view=diff ============================================================================== --- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java (original) +++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java Mon Sep 15 12:17:44 2008 @@ -32,7 +32,7 @@ @XmlRootElement(name = "jaxb") @XmlAccessorType(XmlAccessType.FIELD) public class JaxbDataFormat extends DataFormatType { - @XmlAttribute(required = true) + @XmlAttribute(required = false) private String contextPath; @XmlAttribute(required = false) private Boolean prettyPrint;