|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_MsgErrorHandler
You need to implement this interface to be notified on unrecoverable errors.
For example called by dispatchManager if a message is lost or the queue overflows
Method Summary | |
---|---|
void |
handleError(I_MsgErrorInfo msgErrorInfo)
The final recovery, all informations necessary are transported in msgErrorInfo. |
java.lang.String |
handleErrorSync(I_MsgErrorInfo msgErrorInfo)
The final recovery, all informations necessary are transported in msgErrorInfo. |
void |
shutdown()
|
Method Detail |
---|
void handleError(I_MsgErrorInfo msgErrorInfo)
This handler is called for example from the 'put' side of a queue if the queue is full or from the 'take' side from the queue e.g. if DispatchManager exhausted to reconnect.
This method never throws an exception but handles the error itself.
java.lang.String handleErrorSync(I_MsgErrorInfo msgErrorInfo) throws XmlBlasterException
This handler is called for example from the 'put' side of a queue if the queue is full or from the 'take' side from the queue e.g. if DispatchManager exhausted to reconnect.
This method can throw an exception, the caller usually passes this back the client code.
XmlBlasterException
- To throw an XmlBlasterException makes sense
if we are in sync mode and want to pass the exception back to the caller.void shutdown()
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |