Class SendSubscribeOperationTest<T extends SendOperation>

    • Field Detail

      • destination

        protected String destination
      • partitionId

        protected String partitionId
      • sendSubscribeOperation

        protected T extends SendOperation sendSubscribeOperation
      • messages

        protected List<org.springframework.messaging.Message<User>> messages
      • userMessage

        protected org.springframework.messaging.Message<User> userMessage
    • Constructor Detail

      • SendSubscribeOperationTest

        public SendSubscribeOperationTest()
    • Method Detail

      • setCheckpointConfig

        protected abstract void setCheckpointConfig​(CheckpointConfig checkpointConfig)
      • setUp

        @BeforeEach
        public abstract void setUp()
      • subscribe

        protected abstract void subscribe​(String destination,
                                          Consumer<org.springframework.messaging.Message<?>> consumer,
                                          Class<?> payloadType)
      • testSendByte

        @Test
        public void testSendByte()
      • testSendReceiveWithManualCheckpointMode

        @Test
        public void testSendReceiveWithManualCheckpointMode()
      • testSendReceiveWithRecordCheckpointMode

        @Test
        public void testSendReceiveWithRecordCheckpointMode()
      • testSendString

        @Test
        public void testSendString()
      • testSendUser

        @Test
        public void testSendUser()
      • verifyCheckpointBatchSuccessCalled

        @Deprecated
        protected abstract void verifyCheckpointBatchSuccessCalled​(int times)
        Deprecated.
      • verifyCheckpointFailure

        protected void verifyCheckpointFailure​(Checkpointer checkpointer)
      • verifyCheckpointFailureCalled

        protected abstract void verifyCheckpointFailureCalled​(int times)
      • verifyCheckpointSuccess

        protected void verifyCheckpointSuccess​(Checkpointer checkpointer)
      • verifyCheckpointSuccessCalled

        protected abstract void verifyCheckpointSuccessCalled​(int times)
      • getSendSubscribeOperation

        public T getSendSubscribeOperation()
      • setSendSubscribeOperation

        public void setSendSubscribeOperation​(T sendSubscribeOperation)
      • getPartitionId

        public String getPartitionId()
      • setPartitionId

        public void setPartitionId​(String partitionId)