You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May I confirm the following two things for the Azure bus service queue of Java
I am using ServiceBusSenderClientBuilder to send messages to the Azure service bus queue, and I find there is nowhere(functions) for me to show the Azure log, eg: the log to show how many times to re-try, do I miss something?
I list my following code
ServiceBusClientBuilder.ServiceBusSenderClientBuilder serviceBusSenderClientBuilder =
new ServiceBusClientBuilder().
retryOptions("my retry and timeout configuration").
connectionString("*********")
.sender();
I am using AmqpRetryOptions for the above retryOptions to set the max re-try and timeout for sending the message, am I on the right track?
public static AmqpRetryOptions getAmqpRetryOptions() {
return new AmqpRetryOptions().
setMode(AmqpRetryMode.FIXED).
setMaxRetries(retryMaxCount).
setTryTimeout(Duration.ofMillis(storageOperationTimeoutInMs)).
setDelay(Duration.ofMillis(retryDelayInMs)).
setMaxDelay(Duration.ofMillis(maxRetryDelayInMs));
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
May I confirm the following two things for the Azure bus service queue of Java
I list my following code
Beta Was this translation helpful? Give feedback.
All reactions