Package com.swiftmq.jms.v610
Class TopicPublisherImpl
- java.lang.Object
-
- com.swiftmq.jms.v610.MessageProducerImpl
-
- com.swiftmq.jms.v610.TopicPublisherImpl
-
- All Implemented Interfaces:
Recreatable
,RequestRetryValidator
,javax.jms.MessageProducer
,javax.jms.TopicPublisher
public class TopicPublisherImpl extends MessageProducerImpl implements javax.jms.TopicPublisher, Recreatable
-
-
Field Summary
-
Fields inherited from class com.swiftmq.jms.v610.MessageProducerImpl
producerId
-
-
Constructor Summary
Constructors Constructor Description TopicPublisherImpl(SessionImpl mySession, javax.jms.Topic topic, int producerId, RequestRegistry requestRegistry, java.lang.String myHostname, java.lang.String clientId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getRecreatables()
Request
getRecreateRequest()
javax.jms.Topic
getTopic()
void
publish(javax.jms.Message message)
void
publish(javax.jms.Message message, int deliveryMode, int priority, long timeToLive)
void
publish(javax.jms.Topic topic, javax.jms.Message message)
void
publish(javax.jms.Topic topic, javax.jms.Message message, int deliveryMode, int priority, long timeToLive)
void
setRecreateReply(Reply reply)
-
Methods inherited from class com.swiftmq.jms.v610.MessageProducerImpl
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDestinationImpl, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive, validate, verifyState
-
-
-
-
Constructor Detail
-
TopicPublisherImpl
public TopicPublisherImpl(SessionImpl mySession, javax.jms.Topic topic, int producerId, RequestRegistry requestRegistry, java.lang.String myHostname, java.lang.String clientId)
-
-
Method Detail
-
getRecreateRequest
public Request getRecreateRequest()
- Specified by:
getRecreateRequest
in interfaceRecreatable
-
setRecreateReply
public void setRecreateReply(Reply reply)
- Specified by:
setRecreateReply
in interfaceRecreatable
-
getRecreatables
public java.util.List getRecreatables()
- Specified by:
getRecreatables
in interfaceRecreatable
-
getTopic
public javax.jms.Topic getTopic() throws javax.jms.JMSException
- Specified by:
getTopic
in interfacejavax.jms.TopicPublisher
- Throws:
javax.jms.JMSException
-
publish
public void publish(javax.jms.Message message) throws javax.jms.JMSException
- Specified by:
publish
in interfacejavax.jms.TopicPublisher
- Throws:
javax.jms.JMSException
-
publish
public void publish(javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
- Specified by:
publish
in interfacejavax.jms.TopicPublisher
- Throws:
javax.jms.JMSException
-
publish
public void publish(javax.jms.Topic topic, javax.jms.Message message) throws javax.jms.JMSException
- Specified by:
publish
in interfacejavax.jms.TopicPublisher
- Throws:
javax.jms.JMSException
-
publish
public void publish(javax.jms.Topic topic, javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
- Specified by:
publish
in interfacejavax.jms.TopicPublisher
- Throws:
javax.jms.JMSException
-
-