public interface MarconiApi extends Closeable
Modifier and Type | Method and Description |
---|---|
ClaimApi |
getClaimApiForZoneAndClientAndQueue(String zone,
UUID clientId,
String name)
Provides access to Claim features.
|
Set<String> |
getConfiguredZones() |
MessageApi |
getMessageApiForZoneAndClientAndQueue(String zone,
UUID clientId,
String name)
Provides access to Message features.
|
QueueApi |
getQueueApiForZoneAndClient(String zone,
UUID clientId)
Provides access to Queue features.
|
QueueApi getQueueApiForZoneAndClient(@Nullable String zone, @HeaderParam(value="Client-ID") UUID clientId)
zone
- The zone where this queue will live.clientId
- A UUID for each client instance. The UUID must be submitted in its canonical form (for example,
3381af92-2b9e-11e3-b191-71861300734c). The client generates the Client-ID once. Client-ID
persists between restarts of the client so the client should reuse that same Client-ID. All
message-related operations require the use of Client-ID in the headers to ensure that messages
are not echoed back to the client that posted them, unless the client explicitly requests this.MessageApi getMessageApiForZoneAndClientAndQueue(@Nullable String zone, @HeaderParam(value="Client-ID") UUID clientId, String name)
zone
- The zone where this queue lives.clientId
- A UUID for each client instance. The UUID must be submitted in its canonical form (for example,
3381af92-2b9e-11e3-b191-71861300734c). The client generates the Client-ID once. Client-ID
persists between restarts of the client so the client should reuse that same Client-ID. All
message-related operations require the use of Client-ID in the headers to ensure that messages
are not echoed back to the client that posted them, unless the client explicitly requests this.name
- Name of the queue.ClaimApi getClaimApiForZoneAndClientAndQueue(@Nullable String zone, @HeaderParam(value="Client-ID") UUID clientId, String name)
zone
- The zone where this queue lives.clientId
- A UUID for each client instance. The UUID must be submitted in its canonical form (for example,
3381af92-2b9e-11e3-b191-71861300734c). The client generates the Client-ID once. Client-ID
persists between restarts of the client so the client should reuse that same Client-ID. All
message-related operations require the use of Client-ID in the headers to ensure that messages
are not echoed back to the client that posted them, unless the client explicitly requests this.name
- Name of the queue.Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.