public abstract class AbstractJMSReceiver extends AbstractServer implements MessageListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
logger
Logger to capture diagnostics.
|
Constructor and Description |
---|
AbstractJMSReceiver() |
protected org.apache.logging.log4j.Logger logger
public AbstractJMSReceiver()
public void onMessage(Message message)
onMessage
in interface MessageListener
message
- The received message.protected Object lookup(Context ctx, String name) throws NamingException
ctx
- The Context.name
- The name of the object to locate.NamingException
- if an error occurs.Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.