Class RxSendSubscribeOperationTest<T extends RxSendOperation>
- java.lang.Object
-
- com.azure.spring.integration.test.support.rx.RxSendSubscribeOperationTest<T>
-
- Direct Known Subclasses:
RxSendSubscribeByGroupOperationTest
public abstract class RxSendSubscribeOperationTest<T extends RxSendOperation> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
destination
protected org.springframework.messaging.Message<User>[]
messages
protected String
partitionId
protected T
sendSubscribeOperation
protected org.springframework.messaging.Message<User>
userMessage
-
Constructor Summary
Constructors Constructor Description RxSendSubscribeOperationTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getPartitionId()
T
getSendSubscribeOperation()
protected abstract void
setCheckpointConfig(CheckpointConfig checkpointConfig)
void
setPartitionId(String partitionId)
void
setSendSubscribeOperation(T sendSubscribeOperation)
abstract void
setUp()
protected abstract rx.Observable<org.springframework.messaging.Message<?>>
subscribe(String destination, Class<?> payloadType)
void
testSendByte()
void
testSendReceiveWithManualCheckpointMode()
void
testSendReceiveWithRecordCheckpointMode()
void
testSendString()
void
testSendUser()
protected abstract void
verifyCheckpointBatchSuccessCalled(int times)
protected abstract void
verifyCheckpointSuccessCalled(int times)
-
-
-
Field Detail
-
destination
protected String destination
-
partitionId
protected String partitionId
-
sendSubscribeOperation
protected T extends RxSendOperation sendSubscribeOperation
-
messages
protected org.springframework.messaging.Message<User>[] messages
-
userMessage
protected org.springframework.messaging.Message<User> userMessage
-
-
Method Detail
-
setCheckpointConfig
protected abstract void setCheckpointConfig(CheckpointConfig checkpointConfig)
-
setUp
@BeforeEach public abstract void setUp()
-
subscribe
protected abstract rx.Observable<org.springframework.messaging.Message<?>> subscribe(String destination, 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
protected abstract void verifyCheckpointBatchSuccessCalled(int times)
-
verifyCheckpointSuccessCalled
protected abstract void verifyCheckpointSuccessCalled(int times)
-
getPartitionId
public String getPartitionId()
-
setPartitionId
public void setPartitionId(String partitionId)
-
getSendSubscribeOperation
public T getSendSubscribeOperation()
-
setSendSubscribeOperation
public void setSendSubscribeOperation(T sendSubscribeOperation)
-
-