com.solace.spring.cloud.stream.binder.provisioning.SolaceProducerDestination Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-cloud-stream-binder-solace Show documentation
Show all versions of spring-cloud-stream-binder-solace Show documentation
A Spring Cloud Stream Binder implementation using the Solace Java API (JCSMP)
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;
}
}