xmlBlaster 2.1.0 API

org.xmlBlaster.util.error
Interface I_MsgErrorInfo

All Known Implementing Classes:
MsgErrorInfo

public interface I_MsgErrorInfo

Encapsulates all necessary information to allow error handling of a lost message.

Author:
xmlBlaster@marcelruff.info

Method Summary
 I_DispatchManager getDispatchManager()
          Access the DispatchManager which holds the queue.
 MsgQueueEntry[] getMsgQueueEntries()
          Access the message entry object to be handled
 MsgUnit getMsgUnit()
          Is not null for client calls into server like XmlBlasterImpl.publish() where no queue is involved.
 MsgUnitRaw getMsgUnitRaw()
          Is not null for client calls into server like XmlBlasterImpl.publish() where no queue is involved and the message could not be parsed.
 I_Queue getQueue()
          Access the queue where the entries are inside.
 SessionName getSessionName()
          Access the sender.
 XmlBlasterException getXmlBlasterException()
          Access the exception object describing the problem
 java.lang.String toXml()
           
 java.lang.String toXml(java.lang.String extraOffset)
           
 

Method Detail

getMsgQueueEntries

MsgQueueEntry[] getMsgQueueEntries()
Access the message entry object to be handled

Returns:
never null

getQueue

I_Queue getQueue()
Access the queue where the entries are inside.

Returns:
null if entries are not in a queue

getDispatchManager

I_DispatchManager getDispatchManager()
Access the DispatchManager which holds the queue.

Returns:
null if entries are not in a queue

getXmlBlasterException

XmlBlasterException getXmlBlasterException()
Access the exception object describing the problem

Returns:
never null

getSessionName

SessionName getSessionName()
Access the sender.

Returns:
null if not known

getMsgUnit

MsgUnit getMsgUnit()
Is not null for client calls into server like XmlBlasterImpl.publish() where no queue is involved.

Returns:
null if not known

getMsgUnitRaw

MsgUnitRaw getMsgUnitRaw()
Is not null for client calls into server like XmlBlasterImpl.publish() where no queue is involved and the message could not be parsed.

Returns:
null if not known

toXml

java.lang.String toXml()

toXml

java.lang.String toXml(java.lang.String extraOffset)

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.