public class HQTopic extends HQDestination implements Topic
Topic.SubscribeOption, Topic.UnsubscribeOptionDestination.ListenOption, Destination.MessageOpOption, Destination.PublishOption, Destination.ReceiveOption| Constructor and Description |
|---|
HQTopic(String name,
javax.jms.Destination destination,
HQMessaging broker) |
| Modifier and Type | Method and Description |
|---|---|
protected HQSpecificContext |
context(String id,
Object context) |
String |
fullName() |
static String |
fullName(String name) |
javax.jms.Destination |
jmsDestination() |
String |
jmsName() |
static String |
jmsName(String name) |
Listener |
subscribe(String id,
MessageHandler handler,
Codecs codecs,
Map<Topic.SubscribeOption,Object> options) |
void |
unsubscribe(String id,
Map<Topic.UnsubscribeOption,Object> options) |
broker, context, fillInProperties, isJndiName, jndiName, listen, name, publish, publish, receive, stoppublic HQTopic(String name, javax.jms.Destination destination, HQMessaging broker)
public Listener subscribe(String id, MessageHandler handler, Codecs codecs, Map<Topic.SubscribeOption,Object> options) throws Exception
public void unsubscribe(String id, Map<Topic.UnsubscribeOption,Object> options) throws Exception
unsubscribe in interface TopicExceptionpublic String jmsName()
jmsName in class HQDestinationpublic String fullName()
fullName in class HQDestinationpublic javax.jms.Destination jmsDestination()
jmsDestination in class HQDestinationprotected HQSpecificContext context(String id, Object context) throws Exception
ExceptionCopyright © 2015. All Rights Reserved.