Class CouchbaseResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.couchbase.it.CouchbaseResource
-
@Path("/couchbase") @ApplicationScoped @Consumes("text/plain") public class CouchbaseResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringbucketName(package private) StringconnectionUri(package private) org.apache.camel.ConsumerTemplateconsumerTemplate(package private) org.apache.camel.ProducerTemplateproducerTemplate(package private) longtimeout
-
Constructor Summary
Constructors Constructor Description CouchbaseResource()
-
-
-
Method Detail
-
insert
@PUT @Path("id/{id}") @Produces("text/plain") public boolean insert(@PathParam("id") String id, String msg)
-
getById
@GET @Path("{id}") @Produces("text/plain") public String getById(@PathParam("id") String id)
-
delete
@DELETE @Path("{id}") @Produces("text/plain") public boolean delete(@PathParam("id") String id)
-
poll
@GET @Path("poll") @Produces("text/plain") public String poll()
-
-