java.lang.Object
org.apache.camel.quarkus.component.bean.method.BeanMethodResource
@Path("/bean-method")
public class BeanMethodResource
extends Object
-
Field Summary
Fields
(package private) org.apache.camel.ProducerTemplate
-
Constructor Summary
Constructors
-
Method Summary
jakarta.ws.rs.core.Response
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
template
@Inject
org.apache.camel.ProducerTemplate template
-
-
Constructor Details
-
BeanMethodResource
public BeanMethodResource()
-
Method Details
-
employee
@Path("/employee/{route}")
@POST
@Consumes("application/json")
public jakarta.ws.rs.core.Response employee(Employee employee,
@PathParam("route")
String route)
-
collectedNames
@Path("/collectedNames/{key}")
@GET
@Produces("application/json")
public List<String> collectedNames(@PathParam("key")
String key)