final boolean accept = this.accept(this.message, this.getNode().getExecution() .getParentScope().getProcess().getExternalContext()); if (accept) { getNode().getExecution().setNextExecutableElements(this, getChildNodeSelected()); } else { this.state = State.ACTIVITY_ENDED; this.getNode().getExecution().setStateRecursively( Execution.State.SUSPENDED); isSuspended = true; this.log .finest("Message does not correspond - execution suspended: " + this.getNode().getExecution().getState()); this.getNode().getExecution().setStateRecursively(Execution.State.SUSPENDED); isSuspended = true; this.log.finest("No Message - execution suspended: " + this.getNode().getExecution().getState());
Endpoint endpoint = this.getNode().getExecution().getParentScope().findEndpoint(this.providerEndpointKey); ExternalContext context = this.getNode().getExecution().getParentScope().getProcess().getExternalContext(endpoint, this.message.getOperationName()); getNode().getExecution().setNextExecutableElements(this, getChildNodeSelected()); this.getNode().getExecution().setStateRecursively( Execution.State.SUSPENDED); isSuspended = true; this.log .finest("Message does not correspond - execution suspended: " + this.getNode().getExecution().getState()); this.getNode().getExecution().setStateRecursively(Execution.State.SUSPENDED); isSuspended = true; this.log.finest("No Message - execution suspended: " + this.getNode().getExecution().getState());