All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.highway2urhell.service.impl.SpringAMQPRabbitService Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.highway2urhell.service.impl;

import com.highway2urhell.VersionUtils;
import com.highway2urhell.domain.EntryPathData;
import com.highway2urhell.service.AbstractLeechService;

import java.util.List;

/**
 * Created by duff on 16/08/2015.
 */
public class SpringAMQPRabbitService extends AbstractLeechService {

    public static final String FRAMEWORK_NAME = "SPRING_AMQP";

    public SpringAMQPRabbitService() {
        super(
                FRAMEWORK_NAME,
                VersionUtils
                        .getVersion(
                                "org.springframework.amqp.core.Message",
                                "org.springframework", "spring-amqp"));
    }

    @Override
    public void receiveData(List incoming) {
        // clearPreviousData();
        LOGGER.debug("receive incoming data");
        gatherData(incoming);
        LOGGER.debug("data gathering complete. Found {} entries",
                getFrameworkInformations().getListEntryPath().size());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy