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

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

public class Server
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
Server()
           
 
Method Summary
static void main(String[] args)
           
 void onMessage(Message message)
           
 
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

Server

public Server()
Method Detail

onMessage

public void onMessage(Message message)
Specified by:
onMessage in interface MessageListener

main

public static void main(String[] args)


Licensed to the Apache Software Foundation