Class TestkitClusterMessagingResource
java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.TestkitClusterMessagingResource
@Singleton
@Named
@Path("/messaging")
@Produces("application/json")
@Consumes("application/json")
public class TestkitClusterMessagingResource
extends Object
-
Constructor Summary
ConstructorDescriptionTestkitClusterMessagingResource
(ClusterMessageService clusterMessageService, ClusterMessageManager clusterMessageManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
changeSchedulerState
(String state) javax.ws.rs.core.Response
listenOnChannel
(String channel) javax.ws.rs.core.Response
javax.ws.rs.core.Response
reapOldMessages
(long offset) javax.ws.rs.core.Response
reset()
javax.ws.rs.core.Response
javax.ws.rs.core.Response
-
Constructor Details
-
TestkitClusterMessagingResource
@Inject public TestkitClusterMessagingResource(ClusterMessageService clusterMessageService, ClusterMessageManager clusterMessageManager)
-
-
Method Details
-
viewStoredMessages
- Throws:
IOException
-
viewAllRawMessages
- Throws:
IOException
-
reset
@Path("/reset") @POST public javax.ws.rs.core.Response reset() -
publish
-
listenOnChannel
@Path("/listen/{channel}") @POST public javax.ws.rs.core.Response listenOnChannel(@PathParam("channel") String channel) -
changeSchedulerState
@Path("/state/{value}") @POST public javax.ws.rs.core.Response changeSchedulerState(@PathParam("value") String state) -
reapOldMessages
@Path("/reap/{offset}") @POST public javax.ws.rs.core.Response reapOldMessages(@PathParam("offset") long offset)
-