Class LeveldbResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.leveldb.it.LeveldbResource
-
@Path("/leveldb") @ApplicationScoped public class LeveldbResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.CamelContextcontextstatic StringMOCKS_DELIMITERstatic StringPARAMETER_BODYstatic StringPARAMETER_FROM_ENDPOINT(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description LeveldbResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseaggregateBinaryTest(String[] messages)javax.ws.rs.core.ResponseaggregateTest(List<String> messages, String path, String mockNames)
-
-
-
Field Detail
-
PARAMETER_BODY
public static String PARAMETER_BODY
-
PARAMETER_FROM_ENDPOINT
public static String PARAMETER_FROM_ENDPOINT
-
MOCKS_DELIMITER
public static String MOCKS_DELIMITER
-
producerTemplate
@Inject org.apache.camel.ProducerTemplate producerTemplate
-
context
@Inject org.apache.camel.CamelContext context
-
-
Method Detail
-
aggregateTest
@Path("/aggregate") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response aggregateTest(List<String> messages, @QueryParam("path") String path, @DefaultValue("mock:result") @QueryParam("mocks") String mockNames) throws Exception- Throws:
Exception
-
-