NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/statistics/StatisticsPersistenceAdapter.java
/**
     * Extract the user stats from response
     * 
     * @param exchange
     */
Extract the user stats from response

@param exchange
Extract the user stats from response @param exchange
public void processUserAccountStatisticsResponse(Exchange exchange) {
        NdsSoapRequestAdapterExchangeProxy ndsExchange = new NdsSoapRequestAdapterExchangeProxyImpl(exchange);
        UserAccountStatisticsNdsResponse userAccountStatisticsNdsResponse = null;
        try {
            userAccountStatisticsNdsResponse = (UserAccountStatisticsNdsResponse) ndsExchange.getRequestMessageBody(
                    UserAccountStatisticsNdsResponse.class);
        } catch (ClassNotFoundException e) {
            logger.error("processUserAccountStatisticsResponse userAccountStatisticsNdsResponse failed due to "
                    + e.getMessage());
        }
        ndsExchange.setAnExchangeProperty(USER_STATS_RESPONSE, userAccountStatisticsNdsResponse);
    }
public void processUserAccountStatisticsResponse ( Exchange exchange ) { NdsSoapRequestAdapterExchangeProxy ndsExchange = new NdsSoapRequestAdapterExchangeProxyImpl ( exchange ) ; UserAccountStatisticsNdsResponse userAccountStatisticsNdsResponse = null ; try { userAccountStatisticsNdsResponse = ( UserAccountStatisticsNdsResponse ) ndsExchange . getRequestMessageBody ( UserAccountStatisticsNdsResponse . class ) ; } catch ( ClassNotFoundException e ) { logger . error ( "processUserAccountStatisticsResponse userAccountStatisticsNdsResponse failed due to " + e . getMessage ( ) ) ; } ndsExchange . setAnExchangeProperty ( USER_STATS_RESPONSE , userAccountStatisticsNdsResponse ) ; }
Extract the user stats from response
Extract the user stats from response