Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Weather component uri problem in case using it in spring/blueprint

$
0
0
Hi,

With this blueprint configuration:

<camelContext id="sample-context" xmlns="http://camel.apache.org/schema/blueprint">
<route id="sample-route">
<from uri="weather:foo?location=London&mode=xml" />
.......
</route>
</camelContext>

Will get build error:
[ERROR] Bundle org.talend.ipaas:camel-example-simple:bundle:0.0.1-SNAPSHOT : Unexpected exception in processing spring r
esources(OSGI-INF/blueprint/blueprint.xml): javax.xml.transform.TransformerException: javax.xml.transform.TransformerExc
eption: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: the reference to "mode" must end with ";"

but the same uri will work in java code without spring/blueprint.

Is it an known issue or I'm missing something? Thanks

Xilai Dai

Viewing all articles
Browse latest Browse all 5648

Trending Articles