org.apache.qpid.example.simple.reqresp
Class Client

java.lang.Object
  extended by org.apache.qpid.example.simple.reqresp.Client
All Implemented Interfaces:
MessageListener

public class Client
extends Object
implements MessageListener


Field Summary
(package private)  String BROKER
           
(package private)  String CONNECTION_JNDI_NAME
           
(package private)  String CONNECTION_NAME
           
(package private)  String INITIAL_CONTEXT_FACTORY
           
(package private)  String QUEUE_JNDI_NAME
           
(package private)  String QUEUE_NAME
           
 
Constructor Summary
Client()
           
 
Method Summary
static void main(String[] args)
           
 void onMessage(Message message)
          Implementation of the Message Listener interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Client

public Client()
Method Detail

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