Stability | Experimental |
---|---|
Maintainer | saihemanth@gmail.com |
Safe Haskell | None |
Haskell API for working with Microsoft Azure ServiceBus
- data SBInfo = SBInfo String ByteString ByteString
- data SBContext
- data BrokerProperties = BrokerProperties {}
- simpleSBInfo :: String -> String -> SBInfo
- sbContext :: SBInfo -> IO SBContext
- unlockMessage :: LockedMsgInfo -> SBContext -> IO ()
- renewLock :: LockedMsgInfo -> SBContext -> IO ()
- deleteMessage :: LockedMsgInfo -> SBContext -> IO ()
Servicebus Types
SBInfo
is encapsulation of Connection Information needed to connect to a Service Bus Namespace.
This information is typically found when you click on the Connection Information link on the azure portal and comprises of
- ServiceBus namespace
- Issuer Name
- Issuer Key
Abstract type representing the service bus context.
data BrokerProperties Source
BrokerProperties
Initialization
simpleSBInfo :: String -> String -> SBInfoSource
a convenience function, where issuer name is owner
Locked Messages
unlockMessage :: LockedMsgInfo -> SBContext -> IO ()Source
Unlock a messages that has been locked earlier.
see peekLockTopic
and peekLockQueue
.
Also consult Unlock message from Queue and Unlock message from Subscription for details on the underlying REST API.
renewLock :: LockedMsgInfo -> SBContext -> IO ()Source
Renews lock on a locked message
see peekLockTopic
and peekLockQueue
.
Also consult Renew Lock for message from Queue and Renew-Lock for a message from subscription for details on the underlying REST API.
deleteMessage :: LockedMsgInfo -> SBContext -> IO ()Source
Delete a message that has been locked earlier.
see peekLockTopic
and peekLockQueue
.
Also consult Delete Message from a Queue and Delete Message from Subscription for details on the underlying REST API.