Class DirectResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.direct.it.DirectResource
-
@ApplicationScoped @Path("/direct") public class DirectResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.CamelContextcontext(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description DirectResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsecatalog(String type, String name)voidroute(String route, String message)StringrouteTemplate(String id, String greeting)
-
-
-
Method Detail
-
routeTemplate
@Path("/routes/template/{id}/{greeting}") @GET @Produces("text/plain") public String routeTemplate(@PathParam("id") String id, @PathParam("greeting") String greeting)
-
catalog
@Path("/catalog/{type}/{name}") @GET @Produces("application/json") public javax.ws.rs.core.Response catalog(@PathParam("type") String type, @PathParam("name") String name) throws IOException- Throws:
IOException
-
-