public interface MessageProducer
| 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.
|
void sendMessage()
throws Exception
Exception - any exception which was thrown when trying to send message.int getInterval()
void finalizeProducer()
Copyright © 2014 JBoss by Red Hat. All rights reserved.