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 classMessageSessionMethods in com.microsoft.azure.servicebus that return IMessageSession Modifier and Type Method Description static IMessageSessionClientFactory. acceptSessionFromConnectionString(String amqpConnectionString, String sessionId)Accept aIMessageSessionin defaultReceiveMode.PEEKLOCKmode from service bus connection string with specified session id.static IMessageSessionClientFactory. acceptSessionFromConnectionString(String amqpConnectionString, String sessionId, ReceiveMode receiveMode)Accept aIMessageSessionfrom service bus connection string with specified session id.static IMessageSessionClientFactory. acceptSessionFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId)Accept aIMessageSessionin defaultReceiveMode.PEEKLOCKmode from service bus connection string builder with specified session id.static IMessageSessionClientFactory. acceptSessionFromConnectionStringBuilder(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId, ReceiveMode receiveMode)Accept aIMessageSessionfrom service bus connection string builder with specified session id.static IMessageSessionClientFactory. acceptSessionFromEntityPath(MessagingFactory messagingFactory, String entityPath, String sessionId)Accept aIMessageSessionfrom service bus using the client settings with specified session id.static IMessageSessionClientFactory. acceptSessionFromEntityPath(MessagingFactory messagingFactory, String entityPath, String sessionId, ReceiveMode receiveMode)Accept aIMessageSessionfrom service bus using the client settings with specified session id.static IMessageSessionClientFactory. acceptSessionFromEntityPath(String namespaceName, String entityPath, String sessionId, ClientSettings clientSettings)Accept aIMessageSessionfrom service bus using the client settings with specified session id in PeekLock mode.static IMessageSessionClientFactory. acceptSessionFromEntityPath(String namespaceName, String entityPath, String sessionId, ClientSettings clientSettings, ReceiveMode receiveMode)Accept aIMessageSessionfrom service bus using the client settings with specified session id.static IMessageSessionClientFactory. acceptSessionFromEntityPath(URI namespaceEndpointURI, String entityPath, String sessionId, ClientSettings clientSettings)Accept aIMessageSessionfrom service bus using the client settings with specified session id in PeekLock mode.static IMessageSessionClientFactory. acceptSessionFromEntityPath(URI namespaceEndpointURI, String entityPath, String sessionId, ClientSettings clientSettings, ReceiveMode receiveMode)Accept aIMessageSessionfrom 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 aIMessageSessionin defaultReceiveMode.PEEKLOCKmode asynchronously from service bus connection string with specified session id.static CompletableFuture<IMessageSession>ClientFactory. acceptSessionFromConnectionStringAsync(String amqpConnectionString, String sessionId, ReceiveMode receiveMode)Accept aIMessageSessionasynchronously from service bus connection string with specified session id.static CompletableFuture<IMessageSession>ClientFactory. acceptSessionFromConnectionStringBuilderAsync(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId)Accept aIMessageSessionin defaultReceiveMode.PEEKLOCKmode asynchronously from service bus connection string builder with specified session id.static CompletableFuture<IMessageSession>ClientFactory. acceptSessionFromConnectionStringBuilderAsync(ConnectionStringBuilder amqpConnectionStringBuilder, String sessionId, ReceiveMode receiveMode)Accept aIMessageSessionasynchronously 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 receivedMessages.
-