Class AliSubscription

All Implemented Interfaces:
Provider, SdkService, AutoCloseable

@AutoService(AbstractSubscription.class) public class AliSubscription extends AbstractSubscription<AliSubscription>
Alibaba SMQ (MNS) subscription.

Receives messages from an SMQ queue via batchPopMessage, acknowledges them via batchDeleteMessage, and nacks them via changeMessageVisibility. Receipt handles are modelled as AliSubscription.AliAckID. Registered under the ali provider id.

Of RetryConfig, only attemptTimeout is applied, as the SMQ client's connection and socket timeouts. maxAttempts, mode, the delay fields, multiplier and totalTimeout are ignored because the SMQ SDK cannot honor them; see SmqClientFactory.buildClientConfiguration(java.net.URI, com.salesforce.multicloudj.common.retries.RetryConfig).