|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class provides an API for accessing a JMS component.
Field Summary | |
static int |
BYTE_MESSAGE
|
static java.lang.String |
GROUP_UPDATE_SUBJECT
|
static int |
MAP_MESSAGE
|
static int |
MESSAGE
|
static int |
OBJECT_MESSAGE
|
static java.lang.String |
PSML_UPDATE_SUBJECT
|
static java.lang.String |
REGISTRY_UPDATE_SUBJECT
|
static java.lang.String |
ROLE_UPDATE_SUBJECT
|
static java.lang.String |
SECURITY_CACHE_UPDATE_SUBJECT
|
static java.lang.String |
SECURITY_UPDATE_SUBJECT
|
static java.lang.String |
SERVICE_NAME
|
static int |
STREAM_MESSAGE
|
static int |
TEXT_MESSAGE
|
static java.lang.String |
USER_UPDATE_SUBJECT
|
Method Summary | |
void |
addMessageListener(javax.jms.MessageListener listener,
java.lang.String id,
java.lang.String destination)
This method creates a new consumer if one with the given id has not been created. |
javax.jms.MessageConsumer |
createConsumer(java.lang.String destination)
This method creates a new MessageConsumer. |
javax.jms.Message |
createMessage(int messageType)
Create a message based on the give type |
void |
removeMessageListener(java.lang.String id)
Remove a message listener that was added to the service previously via the addMessageListener method. |
void |
sendMessage(javax.jms.Message message,
java.lang.String destination)
Send a message to the chose destination |
Field Detail |
public static final java.lang.String SERVICE_NAME
public static final java.lang.String USER_UPDATE_SUBJECT
public static final java.lang.String GROUP_UPDATE_SUBJECT
public static final java.lang.String ROLE_UPDATE_SUBJECT
public static final java.lang.String SECURITY_UPDATE_SUBJECT
public static final int MESSAGE
public static final int TEXT_MESSAGE
public static final int BYTE_MESSAGE
public static final int MAP_MESSAGE
public static final int OBJECT_MESSAGE
public static final int STREAM_MESSAGE
public static final java.lang.String REGISTRY_UPDATE_SUBJECT
public static final java.lang.String SECURITY_CACHE_UPDATE_SUBJECT
public static final java.lang.String PSML_UPDATE_SUBJECT
Method Detail |
public void addMessageListener(javax.jms.MessageListener listener, java.lang.String id, java.lang.String destination)
listener
- id
- destination
- public javax.jms.MessageConsumer createConsumer(java.lang.String destination)
destination
- public void removeMessageListener(java.lang.String id)
id
- public void sendMessage(javax.jms.Message message, java.lang.String destination)
message
- destination
- public javax.jms.Message createMessage(int messageType)
messageType
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |