Examples of UimaASProcessCasTimeout


Examples of org.apache.uima.aae.error.UimaASProcessCasTimeout

                  }
                }
              } else {
                // notify the application listener with the error
                if ( serviceDelegate.isPingTimeout()) {
                  exc = new UimaASProcessCasTimeout(new UimaASPingTimeout("UIMA AS Client Ping Time While Waiting For Reply From a Service On Queue:"+anEndpoint));
                  serviceDelegate.resetPingTimeout();
                } else {
                  exc = new UimaASProcessCasTimeout("UIMA AS Client Timed Out Waiting For CAS:"+casReferenceId+ " Reply From a Service On Queue:"+anEndpoint);
                }
                status.addEventStatus("Process", "Failed", exc);
                notifyListeners(aCAS, status, AsynchAEMessage.Process);
              }
              boolean isSynchronousCall = cachedRequest.isSynchronousInvocation();
View Full Code Here

Examples of org.apache.uima.aae.error.UimaASProcessCasTimeout

      }
     // Request To Process Cas Has Timed-out. 
      throw new ResourceProcessException(JmsConstants.JMS_LOG_RESOURCE_BUNDLE, "" +
          "UIMAJMS_process_timeout_WARNING",
          new Object[]{qName, getBrokerURI(), cachedRequest.getHostIpProcessingCAS()},
          new UimaASProcessCasTimeout("UIMA AS Client Timed Out Waiting for Reply From Service:"+qName+" Broker:"+getBrokerURI()));
    }
    // If a reply contains process exception, throw an exception and let the
    // listener decide what happens next
    if (cachedRequest.isProcessException()) {
      String qName="";
View Full Code Here

Examples of org.apache.uima.aae.error.UimaASProcessCasTimeout

                  }
                }
              } else {
                // notify the application listener with the error
                if ( serviceDelegate.isPingTimeout()) {
                  exc = new UimaASProcessCasTimeout(new UimaASPingTimeout("UIMA AS Client Ping Time While Waiting For Reply From a Service On Queue:"+anEndpoint));
                  serviceDelegate.resetPingTimeout();
                } else {
                  exc = new UimaASProcessCasTimeout("UIMA AS Client Timed Out Waiting For CAS:"+casReferenceId+ " Reply From a Service On Queue:"+anEndpoint);
                }
                status.addEventStatus("Process", "Failed", exc);
                notifyListeners(aCAS, status, AsynchAEMessage.Process);
              }
              boolean isSynchronousCall = cachedRequest.isSynchronousInvocation();
View Full Code Here

Examples of org.apache.uima.aae.error.UimaASProcessCasTimeout

                                "handleError", JmsConstants.JMS_LOG_RESOURCE_BUNDLE,
                                "UIMAJMS_client_reject_by_forced_timeout__WARNING", new Object[] { de.getCasReferenceId(), String.valueOf(cachedRequest.getCAS().hashCode())});
                      }
                      //dumpDelayedList();
                      try {
                        clientUimaAsEngine.handleException(new UimaASProcessCasTimeout("Service Not Responding to Ping - CAS:"+de.getCasReferenceId(), new UimaASPingTimeout("Forced Timeout on CAS in PendingDispatch list. The CAS Has Not Been Dispatched since the Service Appears to be Unavailable")), de.getCasReferenceId(), null,cachedRequest, !cachedRequest.isSynchronousInvocation(), false);
                      } catch( Exception ex) {
                        ex.printStackTrace();
                      }
                    }
                    if ( clientUimaAsEngine.running ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.