Class ArangodbResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.arangodb.it.ArangodbResource
-
@Path("/arangodb/camel") @ApplicationScoped public class ArangodbResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description ArangodbResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsedelete(String key)javax.ws.rs.core.Responseget(String key)javax.ws.rs.core.ResponsegetByFooName(String fooName)javax.ws.rs.core.Responsepost(String key, String msg)javax.ws.rs.core.Responseput(String message)
-
-
-
Method Detail
-
put
@PUT @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response put(String message) throws Exception- Throws:
Exception
-
get
@Path("{key}") @GET @Produces("text/plain") public javax.ws.rs.core.Response get(@PathParam("key") String key) throws Exception- Throws:
Exception
-
delete
@Path("{key}") @DELETE public javax.ws.rs.core.Response delete(@PathParam("key") String key) throws Exception- Throws:
Exception
-
post
@Path("{key}") @POST @Consumes("text/plain") public javax.ws.rs.core.Response post(@PathParam("key") String key, String msg) throws Exception- Throws:
Exception
-
-