Interface IDfMessageQueueFactory


public interface IDfMessageQueueFactory
Created by IntelliJ IDEA. User: fanz Date: Apr 26, 2011 Time: 9:14:47 AM To change this template use File | Settings | File Templates.
  • Method Details

    • createMessageQueue

      IDfMessageQueue createMessageQueue(IDfSession session, String queueName, Collection<IDfAttr> attrs) throws DfException
      Create a message queue with attributes as specified in argument attrs.
      Parameters:
      queueName - The name of the message queue to create. The queue name must be unique repository wide. Using an existing queue name will cause an exception.
      attrs - A collectoin of DfAttribute objects that define the message queue attriburtes.
      Returns:
      A message queue object that implements IDfMessageQueue.
      Throws:
      DfException - if the specified message queue already exists, or unable to create the message queue due to other server errors.