| Constructor and Description |
|---|
MessagingResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
pickUpMessage(AsyncResponse ar)
Retrieve a message from the blocking message queue.
|
void |
postMessage(AsyncResponse ar,
String message)
Post a new message to the blocking message queue.
|
public void pickUpMessage(@Suspended AsyncResponse ar)
ar - suspended asynchronous JAX-RS response.public void postMessage(@Suspended AsyncResponse ar, String message)
ar - suspended asynchronous JAX-RS response.message - message to be posted.Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.