public class SQSMessageInformationService extends DefaultMessageInformationService
DefaultMessageInformationService. This provides a method to obtain SQS queue URLs| Constructor and Description |
|---|
SQSMessageInformationService(SQSMessageRunnerKeyToProducerMapper messageRunnerKeyToProducerMapper,
com.atlassian.tenant.api.TenantContextProvider tenantContextProvider,
NestedMessageSerializer nestedMessageSerializer,
TenantDataIdSupplier tenantDataIdSupplier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getQueueUrl(MessageRunnerKey messageRunnerKey)
Returns the queue URL that atlassian-messagequeue is consuming from and producing to for the specified message
runner key.
|
fromPayload, toPayloadpublic SQSMessageInformationService(SQSMessageRunnerKeyToProducerMapper messageRunnerKeyToProducerMapper, com.atlassian.tenant.api.TenantContextProvider tenantContextProvider, NestedMessageSerializer nestedMessageSerializer, TenantDataIdSupplier tenantDataIdSupplier)
messageRunnerKeyToProducerMapper - mapping from messageRunnerKey to queue configtenantContextProvider - the tenant context providernestedMessageSerializer - the nested message serializertenantDataIdSupplier - the tenant data id supplierpublic String getQueueUrl(MessageRunnerKey messageRunnerKey)
MessageInformationServicegetQueueUrl in interface MessageInformationServicegetQueueUrl in class DefaultMessageInformationServicemessageRunnerKey - the message runner keyCopyright © 2017 Atlassian. All rights reserved.