| |
|
| java.lang.Object org.ow2.easybeans.tests.common.jms.JMSManager
JMSManager | public class JMSManager (Code) | | author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Constructor Summary | |
public | JMSManager(String jndiConnectionFactoryName, String jndiDestinationName) Creates a new instance. |
DEFAULT_QUEUE | final public static String DEFAULT_QUEUE(Code) | | Default queue name.
|
DEFAULT_QUEUE_CONNECTION_FACTORY | final public static String DEFAULT_QUEUE_CONNECTION_FACTORY(Code) | | Queue connection factory.
|
DEFAULT_TOPIC | final public static String DEFAULT_TOPIC(Code) | | Default topic name.
|
DEFAULT_TOPIC_CONNECTION_FACTORY | final public static String DEFAULT_TOPIC_CONNECTION_FACTORY(Code) | | Topic connection factory.
|
SLEEP | final public static int SLEEP(Code) | | Sleep time.
|
JMSManager | public JMSManager(String jndiConnectionFactoryName, String jndiDestinationName) throws Exception(Code) | | Creates a new instance.
Parameters: jndiConnectionFactoryName - JNDI name of the connection factory. Parameters: jndiDestinationName - JNDI name of the destination. throws: Exception - if a problem occurs. |
sendControlMessage | public void sendControlMessage(String bean, OperationType operation) throws Exception(Code) | | Sends a default text message.
Parameters: bean - name of the destination bean. Parameters: operation - operation to be performed by the bean. throws: Exception - if a problem occurs. |
sendMessage | public void sendMessage(Message msg) throws Exception(Code) | | Sends a message.
Parameters: msg - Message throws: Exception - if a problem occurs. |
sendObjectMessage | public void sendObjectMessage(String type, Serializable message) throws Exception(Code) | | Sends object message.
Parameters: type - message type. Parameters: message - contains the message to be sent. throws: Exception - if a problem occurs. |
sendTextMessage | public void sendTextMessage(String text) throws Exception(Code) | | Sends a text message.
Parameters: text - message text. throws: Exception - if a problem occurs. |
|
|
|