public String toString() { StringBuffer sb = new StringBuffer(); sb.append("[ Name : ").append(endpointName). append(" ] [ State : ").append(getStateAsString()).append(" ]"); return sb.toString(); } }
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("[ Name : ").append(endpointName). append(" ] [ State : ").append(getStateAsString()).append(" ]"); return sb.toString(); }
/** * Endpoint has processed a message successfully */ public void onSuccess() { if (isClustered) { Integer state = (Integer) cfgCtx.getPropertyNonReplicable(STATE_KEY); if ((state != null) && ((state != ST_ACTIVE) && (state != ST_OFF))) { log.info("Endpoint : " + endpointName + " currently " + getStateAsString() + " will now be marked active since it processed its last message"); setState(ST_ACTIVE); } } else { if (localState != ST_ACTIVE && localState != ST_OFF) { log.info("Endpoint : " + endpointName + " currently " + getStateAsString() + " will now be marked active since it processed its last message"); setState(ST_ACTIVE); } } }
/** * Endpoint has processed a message successfully */ public void onSuccess() { if (isClustered) { Integer state = (Integer) cfgCtx.getPropertyNonReplicable(STATE_KEY); if ((state != null) && ((state != ST_ACTIVE) && (state != ST_OFF))) { log.info("Endpoint : " + endpointName + printEndpointAddress() + " currently " + getStateAsString() + " will now be marked active since it processed its last message"); setState(ST_ACTIVE); } } else { if (localState != ST_ACTIVE && localState != ST_OFF) { log.info("Endpoint : " + endpointName + printEndpointAddress() + " currently " + getStateAsString() + " will now be marked active since it processed its last message"); setState(ST_ACTIVE); } } }
getStateAsString() + " can be used now?"); + getStateAsString() + ". Next retry will be after : " + new Date(localNextRetryTime));
getStateAsString() + " can be used now?"); log.debug("Endpoint : " + endpointName + printEndpointAddress() + " not ready and is currently : " + getStateAsString() + ". Next retry will be after : " + new Date(localNextRetryTime));