new TopicPublisher()
This method is not meant to be used directly.
Creates a TopicPublisher object that sends messages to a
specific Topic.
Extends
Method Summary
- publish
- Publishes a message.
Inherited Methods
|
close |
getDeliveryDelay |
getDeliveryMode |
getDestination |
getPriority |
getTimeToLive |
send |
setDeliveryDelay |
setDeliveryMode |
setPriority |
setTimeToLive |
Method Detail
-
publish(message)
-
Publishes a message. Will use TopicPublisher's default delivery mode, priority and time to live if message parameters are not set.
Implementation note: this method is actually an alias for MessageProducer#send.Parameters:
Name Type Description message
Message the message to be published.