org.pipservices4.messaging.connect.IMessageQueueConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pip-services4-messaging Show documentation
Show all versions of pip-services4-messaging Show documentation
Messaging components for Pip.Services in Java
The newest version!
package org.pipservices4.messaging.connect;
import java.util.List;
/**
* Defines an interface for message queue connections
*/
public interface IMessageQueueConnection {
/**
* Reads a list of registered queue names.
* If connection doesn't support this function returnes an empty list.
*
* @return a list with registered queue names.
*/
List readQueueNames();
/**
* Creates a message queue.
* If connection doesn't support this function it exists without error.
*
* @param name the name of the queue to be created.
*/
void createQueue(String name);
/**
* Deletes a message queue.
* If connection doesn't support this function it exists without error.
*
* @param name the name of the queue to be deleted.
*/
void deleteQueue(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy