NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/statistics/StatisticsPersistenceAdapter.java
/**
     * Create the request to get the user stats
     * 
     * @param exchange
     */
Create the request to get the user stats

@param exchange
Create the request to get the user stats @param exchange
public void createUserAccountStatisticsRequest(Exchange exchange) {
        NdsSoapRequestAdapterExchangeProxy ndsExchange = new NdsSoapRequestAdapterExchangeProxyImpl(exchange);
        UserAccountStatisticsNdsRequest userAccountStatisticsNdsRequest = new UserAccountStatisticsNdsRequest();
        userAccountStatisticsNdsRequest.setToDateTime(
                (ZonedDateTime) ndsExchange.getAnExchangeProperty(DATE_TIME_NOW_RAN));
        userAccountStatisticsNdsRequest.setFromDateTime(
                (ZonedDateTime) ndsExchange.getAnExchangeProperty(DATE_TIME_LAST_RUN));
        ndsExchange.setResponseMessageBody(userAccountStatisticsNdsRequest);
    }
public void createUserAccountStatisticsRequest ( Exchange exchange ) { NdsSoapRequestAdapterExchangeProxy ndsExchange = new NdsSoapRequestAdapterExchangeProxyImpl ( exchange ) ; UserAccountStatisticsNdsRequest userAccountStatisticsNdsRequest = new UserAccountStatisticsNdsRequest ( ) ; userAccountStatisticsNdsRequest . setToDateTime ( ( ZonedDateTime ) ndsExchange . getAnExchangeProperty ( DATE_TIME_NOW_RAN ) ) ; userAccountStatisticsNdsRequest . setFromDateTime ( ( ZonedDateTime ) ndsExchange . getAnExchangeProperty ( DATE_TIME_LAST_RUN ) ) ; ndsExchange . setResponseMessageBody ( userAccountStatisticsNdsRequest ) ; }
Create the request to get the user stats
Create the request to get the user stats