public class MessageHandlerGroup extends Object implements Listener
| Constructor and Description |
|---|
MessageHandlerGroup(HQSpecificContext context,
MessageHandler handler,
Codecs codecs,
HQDestination destination,
Options<Destination.ListenOption> options) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected javax.jms.JMSConsumer |
createConsumer(HQSpecificContext context) |
MessageHandlerGroup |
start() |
public MessageHandlerGroup(HQSpecificContext context, MessageHandler handler, Codecs codecs, HQDestination destination, Options<Destination.ListenOption> options)
public MessageHandlerGroup start() throws Exception
Exceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionprotected javax.jms.JMSConsumer createConsumer(HQSpecificContext context) throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2015. All Rights Reserved.