camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: [Aggregator] CompletionTimeout as property
Date Tue, 28 Sep 2010 12:36:06 GMT
Hi

I created a ticket to see if we can hack / tweak this to make it better
https://issues.apache.org/activemq/browse/CAMEL-3171


On Tue, Sep 28, 2010 at 1:21 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> On Tue, Sep 28, 2010 at 11:59 AM, Olivier.Roger <olivier.roger@bsb.com> wrote:
>>
>> Hello !
>>
>> I am trying to use the new property placeholder from Camel 2.4
>>
>> I used it to set the completionTimeout attribute from the aggregator
>> component. Schema validation seems to be failling.
>>
>> <aggregate strategyRef="..." completionTimeout="{{aggregator.timeout}}">
>>
>> Here is the error :
>>
>> cvc-datatype-valid.1.2.1: '{{aggregator.timeout}}' is not a valid value for
>> 'integer'.
>>
>> Is the aggregator a supported component for the propertyplaceholder?
>>
>
> That is XMLS Schema restriction as the type is defined as an integer.
> And hence you can only use integers. Even if they are placeholders.
>
> The only solution is to use xs:string types all over the XML Schema.
> But then the XML validation cannot assist you.
>
>
>
>
>  --
>> View this message in context: http://camel.465427.n5.nabble.com/Aggregator-CompletionTimeout-as-property-tp2856453p2856453.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message