<file_sep>package hello;

import org.springframework.context.annotation.ImportResource;

@ImportResource("/integration.xml")
public class Application {

	//@Autowired
	//RedisConnectionFactory connectionFactory;

//	@Bean
//	@ExportMetricWriter
//	MetricWriter metricWriter(MetricExportProperties export) {
//		return new RedisMetricRepository(connectionFactory,
//				export.getRedis().getPrefix(), export.getRedis().getKey());
//	}

//	@Bean
//	@ExportMetricReader
//	public SpringIntegrationMetricReader springIntegrationMetricReader(
//			IntegrationMBeanExporter exporter) {
//		return new SpringIntegrationMetricReader(exporter);
//	}

}
<file_sep>Spring Integration Metrics Spike
================================

You can run the application by either

* running the "Main" class from within STS (Right-click on Main class --> Run As --> Java Application)
* or from the command line:
    - mvn package
    - mvn exec:java
* use the generated **shaded** jar:
....- java -jar target/si-metric-spike-bootless-1.0.0.BUILD-SNAPSHOT.jar
# si-metric-spike-bootless
