Class MessageHandlerTest<O extends SendOperation>
- java.lang.Object
-
- com.azure.spring.integration.test.support.MessageHandlerTest<O>
-
public abstract class MessageHandlerTest<O extends SendOperation> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
destination
protected String
dynamicDestination
protected CompletableFuture<Void>
future
protected DefaultMessageHandler
handler
protected O
sendOperation
-
Constructor Summary
Constructors Constructor Description MessageHandlerTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
getDestination()
protected String
getDynamicDestination()
protected CompletableFuture<Void>
getFuture()
protected DefaultMessageHandler
getHandler()
protected O
getSendOperation()
protected void
setDestination(String destination)
protected void
setDynamicDestination(String dynamicDestination)
protected void
setFuture(CompletableFuture<Void> future)
protected void
setHandler(DefaultMessageHandler handler)
protected void
setSendOperation(O sendOperation)
abstract void
setUp()
void
testSend()
void
testSendCallback()
void
testSendDynamicTopic()
void
testSendSync()
void
testSendTimeout()
-
-
-
Field Detail
-
sendOperation
protected O extends SendOperation sendOperation
-
handler
protected DefaultMessageHandler handler
-
destination
protected String destination
-
dynamicDestination
protected String dynamicDestination
-
future
protected CompletableFuture<Void> future
-
-
Method Detail
-
setUp
public abstract void setUp()
-
getSendOperation
protected O getSendOperation()
-
setSendOperation
protected void setSendOperation(O sendOperation)
-
getHandler
protected DefaultMessageHandler getHandler()
-
setHandler
protected void setHandler(DefaultMessageHandler handler)
-
getDestination
protected String getDestination()
-
setDestination
protected void setDestination(String destination)
-
getDynamicDestination
protected String getDynamicDestination()
-
setDynamicDestination
protected void setDynamicDestination(String dynamicDestination)
-
getFuture
protected CompletableFuture<Void> getFuture()
-
setFuture
protected void setFuture(CompletableFuture<Void> future)
-
testSend
@Test public void testSend()
-
testSendDynamicTopic
@Test public void testSendDynamicTopic()
-
testSendSync
@Test public void testSendSync()
-
testSendTimeout
@Test public void testSendTimeout()
-
testSendCallback
@Test public void testSendCallback()
-
-