java.lang.Object
com.alibaba.cloud.stream.binder.rocketmq.integration.inbound.pull.RocketMQAckCallback
All Implemented Interfaces:
org.springframework.integration.acks.AcknowledgmentCallback, org.springframework.integration.acks.SimpleAcknowledgment

public class RocketMQAckCallback extends Object implements org.springframework.integration.acks.AcknowledgmentCallback
A pollable MessageSource for RocketMQ.
Author:
zkzlx
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.integration.acks.AcknowledgmentCallback

    org.springframework.integration.acks.AcknowledgmentCallback.Status
  • Constructor Summary

    Constructors
    Constructor
    Description
    RocketMQAckCallback(org.apache.rocketmq.client.consumer.DefaultLitePullConsumer consumer, org.apache.rocketmq.common.message.MessageQueue messageQueue, org.apache.rocketmq.common.message.MessageExt messageExt)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acknowledge(org.springframework.integration.acks.AcknowledgmentCallback.Status status)
     
    boolean
     
    boolean
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.integration.acks.AcknowledgmentCallback

    acknowledge
  • Constructor Details

    • RocketMQAckCallback

      public RocketMQAckCallback(org.apache.rocketmq.client.consumer.DefaultLitePullConsumer consumer, org.apache.rocketmq.common.message.MessageQueue messageQueue, org.apache.rocketmq.common.message.MessageExt messageExt)
  • Method Details

    • isAcknowledged

      public boolean isAcknowledged()
      Specified by:
      isAcknowledged in interface org.springframework.integration.acks.AcknowledgmentCallback
    • noAutoAck

      public void noAutoAck()
      Specified by:
      noAutoAck in interface org.springframework.integration.acks.AcknowledgmentCallback
    • isAutoAck

      public boolean isAutoAck()
      Specified by:
      isAutoAck in interface org.springframework.integration.acks.AcknowledgmentCallback
    • acknowledge

      public void acknowledge(org.springframework.integration.acks.AcknowledgmentCallback.Status status)
      Specified by:
      acknowledge in interface org.springframework.integration.acks.AcknowledgmentCallback