@Optional public interface Extension
This interface contains some methods are used for getting configurations related implementation. but this interface are not mandatory.
Modifier and Type | Method and Description |
---|---|
Set<QueueMetaData> |
getQueueMetaData(String queueName)
This method used for getting the related queue's meta data, and this method is optional, vendors may not provide
this method based on their implementation.
|
Set<QueueMetaData> getQueueMetaData(String queueName)
queueName
- Queue name, message destination.QueueMetaData
Queue config in the serverOMSSecurityException
- when have no authority to send messages to a given destination.OMSTimeOutException
- when the given timeout elapses before the send operation completes.OMSDestinationException
- when have no given destination in the server.OMSRuntimeException
- when the Producer
fails to send the message due to some internal error.Copyright © 2017–2020 OpenMessaging. All rights reserved.