Class ServiceBusContainerProperties
java.lang.Object
com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
com.azure.spring.messaging.servicebus.core.properties.CommonProperties
com.azure.spring.messaging.servicebus.core.properties.ConsumerProperties
com.azure.spring.messaging.servicebus.core.properties.ProcessorProperties
com.azure.spring.messaging.servicebus.core.properties.ServiceBusContainerProperties
- All Implemented Interfaces:
com.azure.spring.cloud.core.properties.AzureProperties
,com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
,com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
,com.azure.spring.cloud.core.provider.ClientOptionsProvider
,com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
,com.azure.spring.cloud.core.provider.ProxyOptionsProvider
,com.azure.spring.cloud.core.provider.RetryOptionsProvider
,com.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
,com.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusProcessorClientProperties
,com.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusReceiverClientProperties
The properties to describe a Service Bus listener container.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.AzureEnvironmentOptions, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.CloudType, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.ProfileOptions
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider
com.azure.spring.cloud.core.provider.ClientOptionsProvider.AmqpClientOptions, com.azure.spring.cloud.core.provider.ClientOptionsProvider.ClientOptions, com.azure.spring.cloud.core.provider.ClientOptionsProvider.HttpClientOptions
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.ProxyOptionsProvider
com.azure.spring.cloud.core.provider.ProxyOptionsProvider.AmqpProxyOptions, com.azure.spring.cloud.core.provider.ProxyOptionsProvider.HttpProxyOptions, com.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider
com.azure.spring.cloud.core.provider.RetryOptionsProvider.AmqpRetryOptions, com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryMode, com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.spring.cloud.service.servicebus.consumer.ServiceBusErrorHandler
Get the error handler of the container.com.azure.spring.cloud.service.listener.MessageListener
<?> Get the message listener of the container.void
setErrorHandler
(com.azure.spring.cloud.service.servicebus.consumer.ServiceBusErrorHandler errorHandler) Set the error handler for the container.void
setMessageListener
(com.azure.spring.cloud.service.listener.MessageListener<?> messageListener) Set the message listener for the container.Methods inherited from class com.azure.spring.messaging.servicebus.core.properties.ProcessorProperties
getMaxConcurrentCalls, getMaxConcurrentSessions, getSessionIdleTimeout, setMaxConcurrentCalls, setMaxConcurrentSessions, setSessionIdleTimeout
Methods inherited from class com.azure.spring.messaging.servicebus.core.properties.ConsumerProperties
getAutoComplete, getMaxAutoLockRenewDuration, getPrefetchCount, getReceiveMode, getSessionEnabled, getSubQueue, getSubscriptionName, setAutoComplete, setMaxAutoLockRenewDuration, setPrefetchCount, setReceiveMode, setSessionEnabled, setSubQueue, setSubscriptionName
Methods inherited from class com.azure.spring.messaging.servicebus.core.properties.CommonProperties
getConnectionString, getCustomEndpointAddress, getDomainName, getEntityName, getEntityType, getFullyQualifiedNamespace, getNamespace, setConnectionString, setCustomEndpointAddress, setDomainName, setEntityName, setEntityType, setNamespace
Methods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
getClient, getProxy, getRetry
Methods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
getCredential, getProfile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
getProfile
Methods inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider
getClient
Methods inherited from interface com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
getConnectionString
Methods inherited from interface com.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
getCustomEndpointAddress, getDomainName, getEntityName, getEntityType, getFullyQualifiedNamespace, getNamespace
-
Constructor Details
-
ServiceBusContainerProperties
public ServiceBusContainerProperties()Creates an instance ofServiceBusContainerProperties
.
-
-
Method Details
-
getMessageListener
public com.azure.spring.cloud.service.listener.MessageListener<?> getMessageListener()Get the message listener of the container.- Returns:
- the message listener of the container.
-
setMessageListener
public void setMessageListener(com.azure.spring.cloud.service.listener.MessageListener<?> messageListener) Set the message listener for the container.- Parameters:
messageListener
- the message listener.
-
getErrorHandler
public com.azure.spring.cloud.service.servicebus.consumer.ServiceBusErrorHandler getErrorHandler()Get the error handler of the container.- Returns:
- the error handler of the container.
-
setErrorHandler
public void setErrorHandler(com.azure.spring.cloud.service.servicebus.consumer.ServiceBusErrorHandler errorHandler) Set the error handler for the container.- Parameters:
errorHandler
- the error handler.
-