camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6251) Not possible to use propertyplaceholders for camel dataformat pretty-print attribute
Date Mon, 08 Apr 2013 13:41:16 GMT
David J. M. Karlsen created CAMEL-6251:
------------------------------------------

             Summary: Not possible to use propertyplaceholders for camel dataformat pretty-print
attribute
                 Key: CAMEL-6251
                 URL: https://issues.apache.org/jira/browse/CAMEL-6251
             Project: Camel
          Issue Type: Improvement
          Components: camel-jaxb
    Affects Versions: 2.10.2
            Reporter: David J. M. Karlsen


It's not possible to use propertyplaceholders for the prettyPrint attribute for the jaxb configuration
when using spring DSL.
{noformat}
			<marshal>
				<jaxb prettyPrint="${jaxb.prettyPrint}" contextPath="my.contextpath"
					partClass="my.Document" 
					partNamespace="{my}Document" />
			</marshal> 

{noformat}

It will print:
Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '${jaxb.prettyPrint}'
is not a valid value for 'boolean'.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message