org.apache.qpid.example.simple.reqresp
Class Client
java.lang.Object
org.apache.qpid.example.simple.reqresp.Client
- All Implemented Interfaces:
- MessageListener
public class Client
- extends Object
- implements MessageListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BROKER
final String BROKER
- See Also:
- Constant Field Values
INITIAL_CONTEXT_FACTORY
final String INITIAL_CONTEXT_FACTORY
- See Also:
- Constant Field Values
CONNECTION_JNDI_NAME
final String CONNECTION_JNDI_NAME
- See Also:
- Constant Field Values
CONNECTION_NAME
final String CONNECTION_NAME
- See Also:
- Constant Field Values
QUEUE_JNDI_NAME
final String QUEUE_JNDI_NAME
- See Also:
- Constant Field Values
QUEUE_NAME
final String QUEUE_NAME
- See Also:
- Constant Field Values
Client
public Client()
onMessage
public void onMessage(Message message)
- Implementation of the Message Listener interface.
This is where message will be asynchronously delivered.
- Specified by:
onMessage
in interface MessageListener
- Parameters:
message
-
main
public static void main(String[] args)
Licensed to the Apache Software Foundation