You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jay mann (JIRA)" <ji...@apache.org> on 2016/01/19 18:36:39 UTC
[jira] [Created] (CAMEL-9522) Groovy does not work with spring boot
Jay mann created CAMEL-9522:
-------------------------------
Summary: Groovy does not work with spring boot
Key: CAMEL-9522
URL: https://issues.apache.org/jira/browse/CAMEL-9522
Project: Camel
Issue Type: Bug
Components: camel-script, camel-spring-boot
Affects Versions: 2.16.1
Reporter: Jay mann
Trying to run a groovy scirpt in camel-spring-boot fails with NPE. To reacreate modify the examples-spring-boot route to this:
public void configure() {
from("timer://trigger").setProperty("groovyProp").groovy("return 'hi'")
.transform().simple("ref:myBean").
to("log:out", "mock:test");
}
and add dependency to pom:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-script</artifactId>
</dependency>
Startup fails with NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)