addTransactionHeader static method
Adds transaction header to a frame
Implementation
static StompFrame addTransactionHeader(StompFrame frame, String transactionId) {
final newFrame = frame.copy();
newFrame.setHeader(StompHeaders.transaction, transactionId);
return newFrame;
}