diff options
Diffstat (limited to 'src')
3 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java b/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java index 813ad59..4f04dec 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java +++ b/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java @@ -21,12 +21,12 @@ *******************************************************************************/ package com.att.nsa.mr.dme.client; -//package com.att.aft.dme2.api; + import java.util.logging.Level; import java.util.logging.Logger; -//import com.att.aft.dme2.api.DME2FailoverFaultHandler; + //import com.att.aft.dme2.api.util.DME2Constants; //import com.att.aft.dme2.api.util.DME2ExchangeFaultContext; //import com.att.aft.dme2.api.util.LogMessage; @@ -34,19 +34,19 @@ import java.util.logging.Logger; public class DefaultLoggingFailoverFaultHandler /*implements DME2FailoverFaultHandler*/ { //TODO: This code may be enable in the future when we implement DME2FailoverFaultHandler interface /** The logger. */ - //private static Logger logger = DME2Constants.getLogger(DefaultLoggingFailoverFaultHandler.class.getName()); + // @Override -// public void handleEndpointFailover(/*DME2ExchangeFaultContext context*/) { + // // LogUtil.INSTANCE.report(logger, Level.WARNING, LogMessage.SEP_FAILOVER, context.getService(),context.getRequestURL(),context.getRouteOffer(),context.getResponseCode(),context.getException()); // } // @Override // /** // * The DME2Exchange already has a log message when the route offer is failed over. We dont need to log it again here. // */ -// public void handleRouteOfferFailover(DME2ExchangeFaultContext context) { + // //noop // -// } + } diff --git a/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java b/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java index c70c63f..04c7d37 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java +++ b/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java @@ -44,11 +44,11 @@ import com.att.nsa.mr.client.impl.MRSimplerBatchPublisher; @Override public void handleFault(DME2ExchangeFaultContext responseData) { // TODO Auto-generated method stub - //StaticCache.getInstance().setHandleFaultInvoked(true); + } @Override public void handleEndpointFault(DME2ExchangeFaultContext responseData) { // TODO Auto-generated method stub - //StaticCache.getInstance().setHandleEndpointFaultInvoked(true); + } @Override public void handleReply(DME2ExchangeResponseContext responseData) { diff --git a/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java b/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java index 0878359..2da5ce9 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java +++ b/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java @@ -56,7 +56,7 @@ public class PreferredRouteReplyHandler implements DME2ExchangeReplyHandler { } @Override public void handleEndpointFault(DME2ExchangeFaultContext responseData) { // TODO Auto-generated method stub - //StaticCache.getInstance().setHandleEndpointFaultInvoked(true); + } public void routeWriter(String routeKey, String routeValue){ |