public QueueListener(string inboundQueue, eMessageFetch fetchMethod, eMessageFormat messageFormat, Type customType) { if (inboundQueue.IndexOf("private$") < 0) { mobjInboundQueue = new MessageQueue(QUEUE_PREFIX + inboundQueue,QueueAccessMode.Receive); } else { mobjInboundQueue = new MessageQueue(inboundQueue, QueueAccessMode.Receive); } meFetchMethod = fetchMethod; meMessageFormat = messageFormat; mobjCustomType = customType; }
public QueueListener(string inboundQueue, eMessageFetch fetchMethod) { if (inboundQueue.IndexOf("private$") < 0) { mobjInboundQueue = new MessageQueue(QUEUE_PREFIX + inboundQueue, QueueAccessMode.Receive); } else { mobjInboundQueue = new MessageQueue(inboundQueue, QueueAccessMode.Receive); } meFetchMethod = fetchMethod; }