public class MemoryTopicImpl<E> extends AbstractTopic<E>
Constructor and Description |
---|
MemoryTopicImpl() |
Modifier and Type | Method and Description |
---|---|
void |
closeSubscriber(AbstractQueue<E> queue) |
AbstractQueue<E> |
createSubscriber(java.lang.String publisher,
java.lang.String name,
boolean noLocal) |
java.lang.String |
getUrl()
Returns the configuration URL.
|
void |
send(java.lang.String msgId,
E payload,
int priority,
long timeout,
java.lang.String publisherId)
Sends a message to the queue
|
drainTo, drainTo, init, iterator, offer, offer, peek, poll, poll, postConstruct, put, receive, remainingCapacity, setTopicName, size, take
acknowledge, close, generateMessageID, generateMessageID, getJMSDestination, getName, getQueueName, getTopicName, hasMessage, rollback, setName, setSerializationHandle, toString
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTopicName, toString
public java.lang.String getUrl()
getUrl
in class AbstractDestination<E>
public void send(java.lang.String msgId, E payload, int priority, long timeout, java.lang.String publisherId) throws MessageException
AbstractDestination
send
in class AbstractDestination<E>
MessageException
public AbstractQueue<E> createSubscriber(java.lang.String publisher, java.lang.String name, boolean noLocal)
createSubscriber
in class AbstractTopic<E>
public void closeSubscriber(AbstractQueue<E> queue)
closeSubscriber
in class AbstractTopic<E>