Constructor and Description |
---|
QueueConfiguration() |
Modifier and Type | Method and Description |
---|---|
QueueConfiguration |
copy() |
String |
getAccessKey()
Access key for the associated azure account name to be used for authentication with azure queue services
|
String |
getAccountName()
Azure account name to be used for authentication with azure queue services
|
com.azure.storage.common.StorageSharedKeyCredential |
getCredentials()
StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication
information
|
Integer |
getMaxMessages()
Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages
will be returned.
|
String |
getMessageId()
The ID of the message to be deleted or updated.
|
QueueOperationDefinition |
getOperation()
Queue service operation hint to the producer
|
String |
getPopReceipt()
Unique identifier that must match for the message to be deleted or updated.
|
String |
getQueueName()
The queue resource name
|
com.azure.storage.queue.QueueServiceClient |
getServiceClient()
Service client to a storage account to interact with the queue service.
|
Duration |
getTimeout()
An optional timeout applied to the operation.
|
Duration |
getTimeToLive()
How long the message will stay alive in the queue.
|
Duration |
getVisibilityTimeout()
The timeout period for how long the message is invisible in the queue.
|
boolean |
isAutoDiscoverClient()
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry
automatically otherwise it will skip that checking.
|
boolean |
isCreateQueue()
When is set to `true`, the queue will be automatically created when sending messages to the queue.
|
void |
setAccessKey(String accessKey) |
void |
setAccountName(String accountName) |
void |
setAutoDiscoverClient(boolean autoDiscoverClient) |
void |
setCreateQueue(boolean createQueue) |
void |
setCredentials(com.azure.storage.common.StorageSharedKeyCredential credentials) |
void |
setMaxMessages(Integer maxMessages) |
void |
setMessageId(String messageId) |
void |
setOperation(QueueOperationDefinition operation) |
void |
setPopReceipt(String popReceipt) |
void |
setQueueName(String queueName) |
void |
setServiceClient(com.azure.storage.queue.QueueServiceClient serviceClient) |
void |
setTimeout(Duration timeout) |
void |
setTimeToLive(Duration timeToLive) |
void |
setVisibilityTimeout(Duration visibilityTimeout) |
public String getAccountName()
public void setAccountName(String accountName)
public com.azure.storage.common.StorageSharedKeyCredential getCredentials()
public void setCredentials(com.azure.storage.common.StorageSharedKeyCredential credentials)
public com.azure.storage.queue.QueueServiceClient getServiceClient()
public void setServiceClient(com.azure.storage.queue.QueueServiceClient serviceClient)
public String getQueueName()
public void setQueueName(String queueName)
public String getAccessKey()
public void setAccessKey(String accessKey)
public Duration getTimeToLive()
public void setTimeToLive(Duration timeToLive)
public Duration getVisibilityTimeout()
public void setVisibilityTimeout(Duration visibilityTimeout)
public QueueOperationDefinition getOperation()
public void setOperation(QueueOperationDefinition operation)
public boolean isCreateQueue()
public void setCreateQueue(boolean createQueue)
public Integer getMaxMessages()
public void setMaxMessages(Integer maxMessages)
public Duration getTimeout()
RuntimeException
will be thrown.public void setTimeout(Duration timeout)
public String getMessageId()
public void setMessageId(String messageId)
public String getPopReceipt()
public void setPopReceipt(String popReceipt)
public boolean isAutoDiscoverClient()
public void setAutoDiscoverClient(boolean autoDiscoverClient)
public QueueConfiguration copy()
Apache Camel