Hi all,
I am trying to use the rest DSL to read a param (as instructed in the
example):
rest("/job")
.consumes("application/json").produces("application/json")
.get("/{id}").description("Find job by id").outType(Job.class)
.param().name("id").type(path).description("The id of the job to
get").dataType("int").endParam()
.to("bean:jobService?method=getJob(${header.id})");
but the class will not compile, giving an error of
"The method param() is undefined for the type RestDefinition"
What could I be doing wrong? Is param not implemented in this version?
Any help appreciated.
Patrick
--
View this message in context:
http://camel.465427.n5.nabble.com/Having-a-problem-with-the-REST-DSL-v2-15-2-tp5769702.html
Sent from the Camel - Users mailing list archive at Nabble.com.