[ 
https://issues.apache.org/jira/browse/CAMEL-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983694#action_12983694
 ] 

Claus Ibsen commented on CAMEL-3171:
------------------------------------

We can define types at package level so eg we can define all boolean as
{code}
@javax.xml.bind.annotation.XmlSchemaType(name = "myBoolean", type = 
java.lang.Boolean.class)
package org.apache.camel.model;
{code}

But adding that to the {{package-info.java}} file in the org.apache.camel.model 
package.



> Allow property placeholders to be used anywhere in Spring XML (and blueprint 
> as well)
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3171
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3171
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-core, camel-spring
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>             Fix For: 3.0.0
>
>
> When using Spring XML or blueprint there is a XSD defining what types the EIP 
> attributes uses.
> For example a timeout would be xs:int, and there could be xs:boolean etc.
> But you may want to use property placeholders so you can do
> {code}
> timeout="{{foo.myTimeout}}"
> {code}
> Where {{foo.myTimeout}} is the properties stuff.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to