@Path(value="/topics") public class TopicDestinationsResource extends Object
| Constructor and Description |
|---|
TopicDestinationsResource(TopicServiceManager manager) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createJmsQueue(javax.ws.rs.core.UriInfo uriInfo,
Document document) |
TopicResource |
createTopicResource(String topicName,
boolean defaultDurable,
int timeoutSeconds,
boolean duplicates) |
TopicResource |
findTopic(String name) |
Map<String,TopicResource> |
getTopics() |
public TopicDestinationsResource(TopicServiceManager manager)
@POST
@Consumes(value="application/hornetq.jms.topic+xml")
public javax.ws.rs.core.Response createJmsQueue(@Context
javax.ws.rs.core.UriInfo uriInfo,
Document document)
@Path(value="/{topic-name}")
public TopicResource findTopic(@PathParam(value="topic-name")
String name)
throws Exception
Exceptionpublic Map<String,TopicResource> getTopics()
public TopicResource createTopicResource(String topicName, boolean defaultDurable, int timeoutSeconds, boolean duplicates) throws Exception
ExceptionCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.