Class JsonPathResource
java.lang.Object
org.apache.camel.quarkus.component.json.path.it.JsonPathResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.CamelContext(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllCarColors(String carsRequestJson) getAuthorsFromJsonStream(byte[] jsonBytes, String encoding) getBookPrice(String storeRequestJson) getBookPriceLevel(String storeRequestJson) getFullName(String personRequestJson) voidvoidvoid
-
Field Details
-
context
@Inject org.apache.camel.CamelContext context -
producerTemplate
@Inject org.apache.camel.ProducerTemplate producerTemplate
-
-
Constructor Details
-
JsonPathResource
public JsonPathResource()
-
-
Method Details
-
getBookPriceLevel
-
getBookPrice
-
getFullName
-
getAllCarColors
-
splitBooksShouldReturnThreePrices
@Path("/splitBooksShouldReturnTwoPrices") @GET public void splitBooksShouldReturnThreePrices() throws InterruptedException- Throws:
InterruptedException
-
setHeaderWithJsonPathExpressionEvaluatingAnotherHeaderShouldSucceed
@Path("/setHeaderWithJsonPathExpressionEvaluatingAnotherHeaderShouldSucceed") @GET public void setHeaderWithJsonPathExpressionEvaluatingAnotherHeaderShouldSucceed() throws InterruptedException- Throws:
InterruptedException
-
getAuthorsFromJsonStream
@Path("/getAuthorsFromJsonStream") @GET @Produces("text/plain") @Consumes("application/octet-stream") public String getAuthorsFromJsonStream(byte[] jsonBytes, @QueryParam("encoding") String encoding) throws IOException - Throws:
IOException
-
splitInputJsonThenWriteAsStringShouldSucceed
@Path("/splitInputJsonThenWriteAsStringShouldSucceed") @GET public void splitInputJsonThenWriteAsStringShouldSucceed() throws InterruptedException- Throws:
InterruptedException
-