JMS Publisher sampler forces Byte Messages in Text Message textfield via XStream
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**Andrew Burton** ([Bug 62856](https://bz.apache.org/bugzilla//show_bug.cgi?id=62856&redirect=false)):
The JMS Publisher sampler passes Bytes messages that are specified in the Text Message textfield via an XML stream.
If a PreProcessor converts the text to a byte encoded string and passes the variable in the Text Message textfield as a workaround, then this is converted back to String before being sent.
In my use case, I am supplying a byte-encoded JSON text string to the JMS queue/topic, it doesn't need to be converted to XML first.
The only way to have this work is to supply the JSON text in a file.
The desired approach would be to have an option for Bytes Messages to be created directly from the string (either the Text Message textfield or the file), without going via the XML XStream converter.
OS: All
Contributor guide
Assessment
This issue has not been assessed yet.