public interface MessageProducer
Modifier and Type | Method and Description |
---|---|
boolean |
cleanup()
Cleans up this message consumer
|
String |
getId()
Returns the ID of this message consumer.
|
void |
setId(int id)
Sets the ID of this message consumer.
|
boolean |
storeMessage(MessageContext synCtx)
Stores the given message to the store associated with this message consumer.
|
boolean storeMessage(MessageContext synCtx)
synCtx
- Message to be saved.true
if storing of the message is successful, false
otherwise.boolean cleanup()
true
if clean up is successful, false
otherwise.void setId(int id)
id
- IDString getId()
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.