StompNackHeaders

Creates an instance of StompNackHeaders with the given id header. Optional headers can be configured using the configure lambda.


fun StompNackHeaders(id: String, transaction: String? = null): StompNackHeaders

Deprecated

This overload will be removed in a future version, please use the overload with lambda instead to set optional headers.

Replace with

import org.hildan.krossbow.stomp.headers.StompNackHeaders
StompNackHeaders(id) { this.transaction = transaction }