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

com.solace.spring.cloud.stream.binder.meter.SolaceMeterAccessor Maven / Gradle / Ivy

There is a newer version: 5.0.1
Show newest version
package com.solace.spring.cloud.stream.binder.meter;

import com.solacesystems.jcsmp.XMLMessage;

/**
 * 

Proxy class for the Solace binder to access meter components. * Always use this instead of directly using meter components in Solace binder code.

*

Allows for the Solace binder to still function correctly without micrometer on the classpath.

*/ public class SolaceMeterAccessor { private final SolaceMessageMeterBinder solaceMessageMeterBinder; public SolaceMeterAccessor(SolaceMessageMeterBinder solaceMessageMeterBinder) { this.solaceMessageMeterBinder = solaceMessageMeterBinder; } public void recordMessage(String bindingName, XMLMessage message) { solaceMessageMeterBinder.recordMessage(bindingName, message); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy