Validation error with integer property (camel)

后端 未结 1 1748
滥情空心
滥情空心 2021-01-21 19:51

I\'am using OSGi Configuration Properties in Blueprint Camel (v 2.13.2) and everything was fine until I tried to properties a integer property : timePeriodMillis in tag.

<
1条回答
  •  -上瘾入骨i
    2021-01-21 19:56

    See the Camel documentation for using property placeholders. The section Using property placeholders for any kind of attribute in the XML DSL at [1] explains how to use placeholders for any kind of attribute. This allows to use string types {{foo}} for types that otherwise would require a number.

    [1] - http://camel.apache.org/using-propertyplaceholder.html

    0 讨论(0)
提交回复
热议问题