Class SendSubscribeOperationTest<T extends SendOperation>

    • Field Detail

      • sendSubscribeOperation

        protected T extends SendOperation sendSubscribeOperation
      • partitionId

        protected String partitionId
      • destination

        protected String destination
      • payload

        protected String payload
      • user

        protected User user
      • userMessage

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

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

      • SendSubscribeOperationTest

        public SendSubscribeOperationTest()
    • Method Detail

      • testSendString

        @Test
        public void testSendString()
      • testSendByte

        @Test
        public void testSendByte()
      • testSendUser

        @Test
        public void testSendUser()
      • testSendReceiveWithManualCheckpointMode

        @Test
        public void testSendReceiveWithManualCheckpointMode()
      • testSendReceiveWithRecordCheckpointMode

        @Test
        public void testSendReceiveWithRecordCheckpointMode()
      • manualCheckpointHandler

        protected void manualCheckpointHandler​(org.springframework.messaging.Message<?> message)
      • verifyCheckpointSuccessCalled

        protected abstract void verifyCheckpointSuccessCalled​(int times)
      • verifyCheckpointBatchSuccessCalled

        protected abstract void verifyCheckpointBatchSuccessCalled​(int times)
      • verifyCheckpointFailureCalled

        protected abstract void verifyCheckpointFailureCalled​(int times)
      • subscribe

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

        protected abstract void setCheckpointConfig​(CheckpointConfig checkpointConfig)
      • verifyCheckpointSuccess

        protected void verifyCheckpointSuccess​(Checkpointer checkpointer)
      • verifyCheckpointFailure

        protected void verifyCheckpointFailure​(Checkpointer checkpointer)
      • getPartitionId

        public String getPartitionId()
      • setPartitionId

        public void setPartitionId​(String partitionId)
      • getSendSubscribeOperation

        public T getSendSubscribeOperation()
      • setSendSubscribeOperation

        public void setSendSubscribeOperation​(T sendSubscribeOperation)
      • waitMillis

        protected void waitMillis​(long millis)