This commit mirrors toMap/toMessageHeaders with from factory methods that allow to create an instance without having to create an intermediate message if all they have is the headers. Closes gh-33153
This commit mirrors toMap/toMessageHeaders with from factory methods that allow to create an instance without having to create an intermediate message if all they have is the headers. Closes gh-33153