Examples of EndpointState


Examples of org.jboss.wsf.spi.deployment.Endpoint.EndpointState

      long beginProcessing = 0;
      ClassLoader ctxClassLoader = Thread.currentThread().getContextClassLoader();
      try
      {
         EndpointState state = ep.getState();
         if (state != EndpointState.STARTED)
         {
            QName faultCode = Constants.SOAP11_FAULT_CODE_SERVER;
            String faultString = "Endpoint cannot handle requests in state: " + state;
            throw new CommonSOAPFaultException(faultCode, faultString);
View Full Code Here

Examples of org.jboss.wsf.spi.deployment.Endpoint.EndpointState

      try
      {
         log.debug("dipatchMessage: " + endpoint.getName());

         // [JBWS-1324]: workaround to prevent message processing before endpoint is started
         EndpointState state = endpoint.getState();
         ObjectName name = endpoint.getName();
         long startTime = System.currentTimeMillis();
         log.debug(name + " is in state: " + state);
         while (state != EndpointState.STARTED && (System.currentTimeMillis() - startTime < 60000))
         {
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.