StompErrorHeaders
Creates an instance of StompErrorHeaders. All headers are optional and can be configured using the configure lambda.
fun StompErrorHeaders(message: String? = null, receiptId: String? = null, customHeaders: Map<String, String> = emptyMap()): StompErrorHeaders
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.StompErrorHeaders
Content copied to clipboard
StompErrorHeaders {
this.message = message
this.receiptId = receiptId
this.putAll(customHeaders)
}Content copied to clipboard