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

com.solace.spring.cloud.stream.binder.provisioning.SolaceProducerDestination Maven / Gradle / Ivy

The newest version!
package com.solace.spring.cloud.stream.binder.provisioning;

import org.springframework.cloud.stream.provisioning.ProducerDestination;

class SolaceProducerDestination implements ProducerDestination {
    private final String destinationName;

    SolaceProducerDestination(String destinationName) {
        this.destinationName = destinationName;
    }

    @Override
    public String getName() {
        return destinationName;
    }

    @Override
    public String getNameForPartition(int partition) {
        return destinationName;
    }

    @Override
    public String toString() {
        String sb = "SolaceProducerDestination{" + "destinationName='" + destinationName + '\'' +
                '}';
        return sb;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy