public interface BufferListener
Sender.send(WfXMLMessage,Partner,Class,Class)
method. The last parameter is the buffer listener that you want to use.Modifier and Type | Method and Description |
---|---|
boolean |
doSendFromBuffer(WfXMLMessage message)
This method will be called by the WfXML Timer Task before it sends a message
from the local outgoing buffer.
|
boolean doSendFromBuffer(WfXMLMessage message)
message
- The message that will be sent from the buffer. You can still
modify it, if necessary.true
if you want that the message is sent now. Mind that
this doesn't actually mean that the message really will be sent. If communication
with the partner server fails, the message can still be kept in the buffer. So,
before the next attempt of sending will be done, this method will be called again.
false
. In that case the message will
not be sent and it will be deleted from the buffer! So, if you return false
it means that the message will be thrown away and that it will never be sent.@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.