|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.client.ClientErrorHandler
public final class ClientErrorHandler
The default error recovery implementation for messages which are lost in time and universe.
Constructor Summary | |
---|---|
ClientErrorHandler(Global glob,
I_XmlBlasterAccess xmlBlasterAccess)
|
Method Summary | |
---|---|
void |
handleError(I_MsgErrorInfo msgErrorInfo)
Handle errors in async mode, we have nobody we can throw an exception to so we handle everything here. |
java.lang.String |
handleErrorSync(I_MsgErrorInfo msgErrorInfo)
The final recovery, all informations necessary are transported in msgErrorInfo. |
void |
shutdown()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientErrorHandler(Global glob, I_XmlBlasterAccess xmlBlasterAccess)
Method Detail |
---|
public void handleError(I_MsgErrorInfo msgErrorInfo)
handleError
in interface I_MsgErrorHandler
public java.lang.String handleErrorSync(I_MsgErrorInfo msgErrorInfo) throws XmlBlasterException
I_MsgErrorHandler
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.
handleErrorSync
in interface I_MsgErrorHandler
XmlBlasterException
- is thrown if we are in sync mode and we have no COMMUNICATION problem,
the client shall handle it himselfpublic void shutdown()
shutdown
in interface I_MsgErrorHandler
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |