public class TopicsContextMessageProducer extends Object implements MessageProducer
| Modifier and Type | Field and Description |
|---|---|
static String |
PUSH_TOPICS_CONTEXT_TOPIC |
| Constructor and Description |
|---|
TopicsContextMessageProducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeProducer()
Finalizes the producer (frees all associated resources)
|
int |
getInterval()
Interval which will be producer sleeping after last message sent before start of sending of next message.
|
void |
sendMessage()
Sends a message.
|
public static final String PUSH_TOPICS_CONTEXT_TOPIC
public void sendMessage()
throws Exception
MessageProducersendMessage in interface MessageProducerException - any exception which was thrown when trying to send message.public int getInterval()
MessageProducergetInterval in interface MessageProducerpublic void finalizeProducer()
MessageProducerfinalizeProducer in interface MessageProducerCopyright © 2014 JBoss by Red Hat. All rights reserved.