Package com.datastax.oss.pulsar.jms
Class PulsarDestination
java.lang.Object
com.datastax.oss.pulsar.jms.PulsarDestination
- All Implemented Interfaces:
javax.jms.Destination
- Direct Known Subclasses:
PulsarQueue,PulsarTopic
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
topicName
-
queryString
-
-
Constructor Details
-
PulsarDestination
-
-
Method Details
-
getName
-
setName
-
getQueryString
-
extractSubscriptionName
Extract custom Queue Subscription Name. This feature does not apply to JMS Topics.- Returns:
- the subscription name, if present.
- Throws:
javax.jms.InvalidDestinationException
-
getInternalTopicName
- Throws:
javax.jms.InvalidDestinationException
-
isVirtualDestination
public final boolean isVirtualDestination() -
isRegExp
public boolean isRegExp() -
isMultiTopic
public boolean isMultiTopic() -
getDestinations
- Throws:
javax.jms.InvalidDestinationException
-
createSameType
public PulsarDestination createSameType(String topicName) throws javax.jms.InvalidDestinationException - Throws:
javax.jms.InvalidDestinationException
-
isQueue
public abstract boolean isQueue() -
isTopic
public abstract boolean isTopic() -
equals
-
hashCode
public final int hashCode()
-