-
Notifications
You must be signed in to change notification settings - Fork 33
IServiceBusManager
danielHalan edited this page Feb 16, 2013
·
10 revisions
Called once to initialize the manager
void Initialize(string serverName, Queue[] monitorQueues);Property that describes what type of message content to expect in queues.
MessageContentFormat MessageContentFormat { get; }Current supported message contents,
public enum MessageContentFormat { Xml, Json, Other=0xFF }Load message content if not already loaded
string LoadMessageContent(QueueItem itm);Return new unprocessed messages that are in queue(s) of specified type **CurrentItems **contains already fetched items, that doesn't need to be return.
public IEnumerable<QueueItem> GetUnprocessedMessages(QueueType type, IEnumerable<QueueItem> currentItems);Return new processed messages that are in queue(s) of specified type **CurrentItems **contains already fetched items, that doesn't need to be return.
IEnumerable<QueueItem> GetProcessedMessages(QueueType type, DateTime since, IEnumerable<QueueItem> currentItems);