RabbitMQ is a widely popular messaging platform. It has open-source and commercial editions. It is lightweight and can be easily deployed on laptops; directly or using Docker
xxxxxxxxxx
@Slf4j
@Component
public class ValueProcessor {
@Bean
public Function<String, String> convertToUppercase() {
return (value) -> {
log.info("Received {}", value);
String upperCaseValue = value.toUpperCase();
log.info("Sending {}", upperCaseValue);
return upperCaseValue;
};
}
}