@Path(value="/test") @ApplicationScoped public class CamelSjmsResource extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) javax.jms.ConnectionFactory |
connectionFactory |
| Constructor and Description |
|---|
CamelSjmsResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.json.JsonObject |
get(String queueName) |
javax.json.JsonObject |
post(String queueName,
String message) |
@Path(value="/jms/{queueName}")
@POST
@Produces(value="application/json")
public javax.json.JsonObject post(@PathParam(value="queueName")
String queueName,
String message)
@Path(value="/jms/{queueName}")
@GET
@Produces(value="application/json")
public javax.json.JsonObject get(@PathParam(value="queueName")
String queueName)
Copyright © 2019–2020 The Apache Software Foundation. All rights reserved.