Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.14.0
-
None
-
Linux, JDK1.7, standalone Camel/Spring J2SE process running in Eclipse
-
Unknown
Description
Using the annotation @PropertyInject on a field of the RouteBuilder class gives a NullPointerException
public class RouteBuilder extends SpringRouteBuilder {
@PropertyInject("foo.bar")
private String fooBar;
...
}
Using the {{ }} notation in endpoint URIs is working though.
Attachments
Issue Links
- is cloned by
-
CAMEL-8126 PropertyInject does nothing for setter method
-
- Resolved
-