EventPublisher

@ConditionalOnProperty(prefix = "spring.cloud.stream", name = "enabled", havingValue = "true", matchIfMissing = true)
@Component
open class EventPublisher

Constructors

Link copied to clipboard
@Autowired
constructor(streamBridge: StreamBridge)

Functions

Link copied to clipboard
open fun <T> publish(bindingName: String, payload: T)
open fun <T> publish(bindingName: String, payload: T, headers: Map<String, Any>)