@Named public class TestkitClusterMessagingResource extends Object
Constructor and Description |
---|
TestkitClusterMessagingResource(ClusterMessageService clusterMessageService,
ClusterMessageManager clusterMessageManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
changeSchedulerState(String state) |
javax.ws.rs.core.Response |
listenOnChannel(String channel) |
javax.ws.rs.core.Response |
publish(String channel,
String message) |
javax.ws.rs.core.Response |
reapOldMessages(long offset) |
javax.ws.rs.core.Response |
reset() |
javax.ws.rs.core.Response |
viewAllRawMessages() |
javax.ws.rs.core.Response |
viewStoredMessages() |
@Inject public TestkitClusterMessagingResource(ClusterMessageService clusterMessageService, ClusterMessageManager clusterMessageManager)
public javax.ws.rs.core.Response viewStoredMessages() throws IOException
IOException
public javax.ws.rs.core.Response viewAllRawMessages() throws IOException
IOException
public javax.ws.rs.core.Response reset()
public javax.ws.rs.core.Response listenOnChannel(String channel)
public javax.ws.rs.core.Response changeSchedulerState(String state)
public javax.ws.rs.core.Response reapOldMessages(long offset)
Copyright © 2020 Atlassian. All rights reserved.