Class AzureBlobResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.azure.it.AzureBlobResource
-
@Path("/azure") @ApplicationScoped public class AzureBlobResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringazureBlobContainerName(package private) StringazureBlobServiceUrl(package private) StringazureStorageAccountKey(package private) StringazureStorageAccountName(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description AzureBlobResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateBlob(String message)com.microsoft.azure.storage.blob.CloudBlobcreateBlobClient()javax.ws.rs.core.ResponsedeleteBlob()StringreadBlob()javax.ws.rs.core.ResponseupdateBlob(String message)
-
-
-
Method Detail
-
createBlobClient
@Produces @Named("azureBlobClient") public com.microsoft.azure.storage.blob.CloudBlob createBlobClient() throws Exception- Throws:
Exception
-
createBlob
@Path("/blob/create") @POST @Consumes("text/plain") public javax.ws.rs.core.Response createBlob(String message) throws Exception- Throws:
Exception
-
readBlob
@Path("/blob/read") @GET @Produces("text/plain") public String readBlob() throws Exception- Throws:
Exception
-
updateBlob
@Path("/blob/update") @PATCH @Consumes("text/plain") public javax.ws.rs.core.Response updateBlob(String message) throws Exception- Throws:
Exception
-
-