You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrew Burton (Bug 62856):
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
The text was updated successfully, but these errors were encountered:
Andrew Burton (migrated from Bugzilla):
The restriction is due to Message Source = Text Area is not supported when choosing a Message Type = Bytes Message.
If choosing Message Type = Object Message, the message is converted to an XML source first (which in the case of a JSON string is not correct).
Andrew Burton (Bug 62856):
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
The text was updated successfully, but these errors were encountered: