Uses of Interface
com.microsoft.azure.servicebus.IMessageSession
-
Packages that use IMessageSession Package Description com.microsoft.azure.servicebus -
-
Uses of IMessageSession in com.microsoft.azure.servicebus
Classes in com.microsoft.azure.servicebus that implement IMessageSession Modifier and Type Class Description class
MessageSession
Methods in com.microsoft.azure.servicebus that return IMessageSession Modifier and Type Method Description static IMessageSession
ClientFactory. acceptSessionFromConnectionString(String amqpConnectionString, String sessionId)
Accept aIMessageSession
in defaultReceiveMode.PEEKLOCK
mode from service bus connection string with specified session id.static IMessageSession
ClientFactory. acceptSessionFromConnectionString(String amqpConnectionString, String sessionId, ReceiveMode receiveMode)
Accept aIMessageSession
from service bus connection string with specified session id.static IMessageSession
ClientFactory. acceptSessionFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId)
Accept aIMessageSession
in defaultReceiveMode.PEEKLOCK
mode from service bus connection string builder with specified session id.static IMessageSession
ClientFactory. acceptSessionFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId, ReceiveMode receiveMode)
Accept aIMessageSession
from service bus connection string builder with specified session id.static IMessageSession
ClientFactory. acceptSessionFromEntityPath(MessagingFactory messagingFactory, String entityPath, String sessionId)
Accept aIMessageSession
from service bus using the client settings with specified session id.static IMessageSession
ClientFactory. acceptSessionFromEntityPath(MessagingFactory messagingFactory, String entityPath, String sessionId, ReceiveMode receiveMode)
Accept aIMessageSession
from service bus using the client settings with specified session id.static IMessageSession
ClientFactory. acceptSessionFromEntityPath(String namespaceName, String entityPath, String sessionId, ClientSettings clientSettings)
Accept aIMessageSession
from service bus using the client settings with specified session id in PeekLock mode.static IMessageSession
ClientFactory. acceptSessionFromEntityPath(String namespaceName, String entityPath, String sessionId, ClientSettings clientSettings, ReceiveMode receiveMode)
Accept aIMessageSession
from service bus using the client settings with specified session id.static IMessageSession
ClientFactory. acceptSessionFromEntityPath(URI namespaceEndpointURI, String entityPath, String sessionId, ClientSettings clientSettings)
Accept aIMessageSession
from service bus using the client settings with specified session id in PeekLock mode.static IMessageSession
ClientFactory. acceptSessionFromEntityPath(URI namespaceEndpointURI, String entityPath, String sessionId, ClientSettings clientSettings, ReceiveMode receiveMode)
Accept aIMessageSession
from service bus using the client settings with specified session id.Methods in com.microsoft.azure.servicebus that return types with arguments of type IMessageSession Modifier and Type Method Description static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromConnectionStringAsync(String amqpConnectionString, String sessionId)
Accept aIMessageSession
in defaultReceiveMode.PEEKLOCK
mode asynchronously from service bus connection string with specified session id.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromConnectionStringAsync(String amqpConnectionString, String sessionId, ReceiveMode receiveMode)
Accept aIMessageSession
asynchronously from service bus connection string with specified session id.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromConnectionStringBuilderAsync(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId)
Accept aIMessageSession
in defaultReceiveMode.PEEKLOCK
mode asynchronously from service bus connection string builder with specified session id.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromConnectionStringBuilderAsync(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId, ReceiveMode receiveMode)
Accept aIMessageSession
asynchronously from service bus connection string builder with specified session id.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromEntityPathAsync(MessagingFactory messagingFactory, String entityPath, String sessionId)
Asynchronously accepts a session from service bus using the client settings.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromEntityPathAsync(MessagingFactory messagingFactory, String entityPath, String sessionId, ReceiveMode receiveMode)
Asynchronously accepts a session from service bus using the client settings.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromEntityPathAsync(String namespaceName, String entityPath, String sessionId, ClientSettings clientSettings)
Asynchronously accepts a session in PeekLock mode from service bus using the client settings.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromEntityPathAsync(String namespaceName, String entityPath, String sessionId, ClientSettings clientSettings, ReceiveMode receiveMode)
Asynchronously accepts a session from service bus using the client settings.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromEntityPathAsync(URI namespaceEndpointURI, String entityPath, String sessionId, ClientSettings clientSettings)
Asynchronously accepts a session in PeekLock mode from service bus using the client settings.static CompletableFuture<IMessageSession>
ClientFactory. acceptSessionFromEntityPathAsync(URI namespaceEndpointURI, String entityPath, String sessionId, ClientSettings clientSettings, ReceiveMode receiveMode)
Asynchronously accepts a session from service bus using the client settings.Collection<IMessageSession>
IMessageSessionEntity. getMessageSessions()
Gets the message sessions, enabling you to browse sessions on queues.Collection<IMessageSession>
IMessageSessionEntity. getMessageSessions(Instant lastUpdatedTime)
Retrieves all message sessions whose session state was updated since lastUpdatedTime.CompletableFuture<Collection<IMessageSession>>
IMessageSessionEntity. getMessageSessionsAsync()
Asynchronously gets the message sessions, enabling you to browse sessions on queues.CompletableFuture<Collection<IMessageSession>>
IMessageSessionEntity. getMessageSessionsAsync(Instant lastUpdatedTime)
Asynchronously retrieves all message sessions whose session state was updated since lastUpdatedTime.Methods in com.microsoft.azure.servicebus with parameters of type IMessageSession Modifier and Type Method Description CompletableFuture<Void>
ISessionHandler. OnCloseSessionAsync(IMessageSession session)
Called just before a session is closed by the session pumpCompletableFuture<Void>
ISessionHandler. onMessageAsync(IMessageSession session, IMessage message)
The callback for message pump to pass receivedMessage
s.
-