List<I_Entry> entryList = null;
List<I_Entry> entryListChecked = null;
try {
I_MsgDispatchInterceptor msgInterceptor = dispatchManager.getMsgDispatchInterceptor();
if (msgInterceptor != null) {
entryListChecked = msgInterceptor.handleNextMessages(dispatchManager, null); // should call prepareMsgsFromQueue() immediately
entryList = entryListChecked;
}
else {
//synchronized (this.msgQueue) {
//entryList = (MsgQueueEntry[])this.msgQueue.take(-1); --> get()