Class AzureQueueResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.azure.it.AzureQueueResource
-
@Path("/azure") @ApplicationScoped public class AzureQueueResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringazureQueueServiceUrl(package private) StringazureStorageAccountKey(package private) StringazureStorageAccountName(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description AzureQueueResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseaddMessage(String message)javax.ws.rs.core.ResponsecreateQueue()com.microsoft.azure.storage.queue.CloudQueuecreateQueueClient()javax.ws.rs.core.ResponsedeleteQueue()StringretrieveMessage()
-
-
-
Method Detail
-
createQueueClient
@Produces @Named("azureQueueClient") public com.microsoft.azure.storage.queue.CloudQueue createQueueClient() throws Exception- Throws:
Exception
-
createQueue
@Path("/queue/create") @POST public javax.ws.rs.core.Response createQueue() throws Exception- Throws:
Exception
-
retrieveMessage
@Path("/queue/read") @GET @Produces("text/plain") public String retrieveMessage() throws Exception- Throws:
Exception
-
addMessage
@Path("/queue/message") @POST @Consumes("text/plain") public javax.ws.rs.core.Response addMessage(String message) throws Exception- Throws:
Exception
-
-