You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/12/08 10:58:14 UTC

[jira] [Updated] (CAMEL-8125) PropertyInject gives NullPointerException

     [ https://issues.apache.org/jira/browse/CAMEL-8125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-8125:
-------------------------------
    Fix Version/s: 2.15.0
                   2.14.1

> PropertyInject gives NullPointerException
> -----------------------------------------
>
>                 Key: CAMEL-8125
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8125
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.14.0
>         Environment: Linux, JDK1.7, standalone Camel/Spring J2SE process running in Eclipse
>            Reporter: Daniel Pocock
>            Assignee: Claus Ibsen
>             Fix For: 2.14.1, 2.15.0
>
>
> 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.
> 	



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)