public class FileTopicImpl<E> extends AbstractTopic<E>
Modifier | Constructor and Description |
---|---|
|
FileTopicImpl() |
protected |
FileTopicImpl(Path path,
java.lang.String name,
java.lang.String serverId) |
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 JMS configuration url.
|
void |
init() |
void |
send(java.lang.String msgId,
E payload,
int priority,
long timeout,
java.lang.String publisher)
Sends a message to the queue
|
void |
setPath(Path path)
Sets the path to the backing database
|
java.lang.String |
toString() |
drainTo, drainTo, 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
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTopicName
public FileTopicImpl()
protected FileTopicImpl(Path path, java.lang.String name, java.lang.String serverId)
public void setPath(Path path)
public java.lang.String getUrl()
getUrl
in class AbstractDestination<E>
public void init()
init
in class AbstractTopic<E>
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>
public void send(java.lang.String msgId, E payload, int priority, long timeout, java.lang.String publisher) throws MessageException
AbstractDestination
send
in class AbstractDestination<E>
MessageException
public java.lang.String toString()
toString
in interface Topic
toString
in class AbstractDestination<E>