java.lang.Object
com.panacya.platform.service.bus.client.JmsSimpleClient
- public class JmsSimpleClient
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BROKER_URL
private static final java.lang.String BROKER_URL
- See Also:
- Constant Field Values
SEND_CMD
private static final java.lang.String SEND_CMD
- See Also:
- Constant Field Values
RECEIVE_CMD
private static final java.lang.String RECEIVE_CMD
- See Also:
- Constant Field Values
ENDLESS_RECEIVE_CMD
private static final java.lang.String ENDLESS_RECEIVE_CMD
- See Also:
- Constant Field Values
SEND_RECEIVE_CMD
private static final java.lang.String SEND_RECEIVE_CMD
- See Also:
- Constant Field Values
NAMING_CONTEXT
public static final java.lang.String NAMING_CONTEXT
- See Also:
- Constant Field Values
JNP_INTERFACES
public static final java.lang.String JNP_INTERFACES
- See Also:
- Constant Field Values
JmsSimpleClient
public JmsSimpleClient()
main
public static void main(java.lang.String[] args)
execute
private static void execute(ClientArgs args)
sendToActiveMQ
public static void sendToActiveMQ(java.lang.String destinationName,
int count)
throws java.lang.Exception
receiveFromActiveMQ
public static void receiveFromActiveMQ(java.lang.String destinationName,
long timeout)
throws java.lang.Exception
receiveFromActiveMQ
public static void receiveFromActiveMQ(java.lang.String destinationName)
throws java.lang.Exception
createTemplate
private static org.springframework.jms.core.JmsTemplate createTemplate(java.lang.String destinationName)