Class CPMessageQueueBaseClass
- Namespace
- Contensive.BaseClasses
- Assembly
- CPBase.dll
Message queue
public abstract class CPMessageQueueBaseClass
- Inheritance
-
CPMessageQueueBaseClass
- Inherited Members
Methods
CreateQueue(string)
create a message queue. Queue url/path is returned
public abstract string CreateQueue(string queueName)
Parameters
queueNamestring
Returns
- string
queue url/path
DeleteMessage(string)
Delete a message from the queue by its handle.
public abstract void DeleteMessage(string messsageHandle)
Parameters
messsageHandlestring
GetMessageList(string)
Return a list of messages from the specified queue.
public abstract List<QueueMessageDetail> GetMessageList(string queueURL)
Parameters
queueURLstring
Returns
GetQueueList()
return a list of all queue available
public abstract List<string> GetQueueList()
Returns
SendMessage(string, string)
Send a message to a queue
public abstract void SendMessage(string queueUrl, string message)