Details
-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
We should prioritize to have using beans with Fuse IDE working nicely in the GUI editor.
This is the XML generated when creating a new camel OSGi blueprint project using the Fuse IDE wizard for the maven archetype
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/blueprint" xsi:schemaLocation=" http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd"> <bean id="helloBean" class="foo.HelloBean"> <property name="say" value="Hi from Camel"/> </bean> <camelContext id="blueprintContext" trace="false" xmlns="http://camel.apache.org/schema/blueprint"> <route id="timerToLog"> <from uri="timer:foo?period=5000"/> <setBody> <method ref="helloBean" method="hello"/> </setBody> <log message="The message contains ${body}"/> </route> </camelContext> </blueprint>
Notice the XML in the <setBody>