Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
Use the following route
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:osgi="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <bean class="com.foo.HelloBean" id="helloBean"> <property name="say" value="Hi again from Camel"/> </bean> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="timer:foo?period=3000"/> <setBody> <method method="hello" ref="helloBean"/> </setBody> <log logName="fff" message="You say ${body}"/> </route> </camelContext>
The problem is when you do the following
1. Remove the logName attribute on <log>
2. Change the period attribute to eg 5000 instead
3. press save
You can only save changes if Rider GUI dont have any validation errors.
I think end users should always be able to save in source view.