public class DLCContentPage extends Object
| Constructor and Description |
|---|
DLCContentPage(org.openqa.selenium.WebDriver driver)
Retrieve page consists content of DeadLetter Channel
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllDLCMessages()
Delete all the messages in DeadLetter Channel
|
String |
deleteFunction()
Test deleting messages of DeadLetter Channel
|
void |
rerouteAllFunction(String sourceDestination,
String targetDestination)
Test reroute all messages function in DLC when its enabled.
|
String |
rerouteFunction(String qName)
Test rerouting messages of DeadLetter Channel
|
String |
restoreFunction()
Test restoring messages of DeadLetter Channel
|
public DLCContentPage(org.openqa.selenium.WebDriver driver)
throws IOException
driver - selenium web driver used to run the testIOException - if mapper.properties file not foundpublic String deleteFunction() throws IOException
IOExceptionpublic void deleteAllDLCMessages()
public String restoreFunction() throws IOException
IOExceptionpublic String rerouteFunction(String qName) throws IOException
IOExceptionpublic void rerouteAllFunction(String sourceDestination, String targetDestination) throws IOException
sourceDestination - The destination from which the messages needs to be transferred.targetDestination - The destination which the messages need to be transferred to.IOExceptionCopyright © 2019 WSO2. All rights reserved.