|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jumpi.impl.AbstractDestination | +--org.jumpi.impl.connector.jms10.JmsDestination
A JmsDestination represents a JMS Destination, i.e. Topic, Queue or a TemporaryTopic or TemporaryQueue.
<protocolname>://topic|queue:<name>
Field Summary |
Fields inherited from class org.jumpi.impl.AbstractDestination |
connector_, controller_, props_, url_, wildcard_ |
Fields inherited from interface org.jumpi.Destination |
PROTOCOL_SEPARATOR, SEPARATOR |
Constructor Summary | |
JmsDestination(java.lang.String url,
Controller controller,
Connector connector,
javax.jms.Queue queue)
Creates a JmsDestination specifically for a given Queue. |
|
JmsDestination(java.lang.String url,
Controller controller,
Connector connector,
javax.jms.Queue queue,
javax.jms.TemporaryQueue tempqueue)
Creates a JmsDestination specifically for a given Queue and TemporaryQueue pair. |
|
JmsDestination(java.lang.String url,
Controller controller,
Connector connector,
javax.jms.Topic topic)
Creates a JmsDestination specifically for a given Topic. |
|
JmsDestination(java.lang.String url,
Controller controller,
Connector connector,
javax.jms.Topic topic,
javax.jms.TemporaryTopic temptopic)
Creates a JmsDestination specifically for a given Topic and TemporaryTopic pair. |
Method Summary | |
JmsDestination |
createTemporaryDestination(javax.jms.TemporaryQueue tq)
Return the JmsDestination, which has the same Queue as this instance but also a TemporaryQueue used for replies. |
JmsDestination |
createTemporaryDestination(javax.jms.TemporaryTopic tt)
Return the JmsDestination, which has the same Topic as this instance but also a TemporaryTopic used for replies. |
javax.jms.Queue |
getQueue()
Return the Queue. |
javax.jms.TemporaryQueue |
getTemporaryQueue()
Return the TemporaryQueue. |
javax.jms.TemporaryTopic |
getTemporaryTopic()
Return the TemporaryTopic. |
javax.jms.Topic |
getTopic()
Return the Topic. |
java.lang.String |
getUrl()
Return the Url representation of the Destination. |
boolean |
isTemporary()
Return true if either a TemporaryQueue or TemporaryTopic is availible. |
boolean |
matches(Destination dest)
We never perform wildcard matching for JMS Destinations. |
Methods inherited from class org.jumpi.impl.AbstractDestination |
equals, getConnector, getController, getControllerName, getProperties, hashCode, isWildcard, setProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JmsDestination(java.lang.String url, Controller controller, Connector connector, javax.jms.Queue queue)
url
- the Url representing the JmsDestination.controller
- the Controller associated with the JmsDestination.connector
- the Connector associated with the JmsDestination.queue
- the JmsDestination.public JmsDestination(java.lang.String url, Controller controller, Connector connector, javax.jms.Queue queue, javax.jms.TemporaryQueue tempqueue)
url
- the Url representing the JmsDestination.controller
- the Controller associated with the JmsDestination.connector
- the Connector associated with the JmsDestination.queue
- the JmsDestination.tempqueue
- the temporary JmsDestination.public JmsDestination(java.lang.String url, Controller controller, Connector connector, javax.jms.Topic topic)
url
- the Url representing the JmsDestination.controller
- the Controller associated with the JmsDestination.connector
- the Connector associated with the JmsDestination.topic
- the JmsDestination.public JmsDestination(java.lang.String url, Controller controller, Connector connector, javax.jms.Topic topic, javax.jms.TemporaryTopic temptopic)
url
- the Url representing the JmsDestination.controller
- the Controller associated with the JmsDestination.connector
- the Connector associated with the JmsDestination.topic
- the JmsDestination.temptopic
- the temporary JmsDestination.Method Detail |
public java.lang.String getUrl()
getUrl
in interface Destination
getUrl
in class AbstractDestination
public javax.jms.Queue getQueue()
public javax.jms.Topic getTopic()
public JmsDestination createTemporaryDestination(javax.jms.TemporaryQueue tq)
tq
- the TemporaryQueue to embed.
public JmsDestination createTemporaryDestination(javax.jms.TemporaryTopic tt)
tt
- the TemporaryTopic to embed.
public javax.jms.TemporaryQueue getTemporaryQueue()
public javax.jms.TemporaryTopic getTemporaryTopic()
public boolean isTemporary()
public boolean matches(Destination dest)
We never perform wildcard matching for JMS Destinations.
matches
in interface Destination
matches
in class AbstractDestination
dest
- the other Destination to be checked for the match.
|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |