-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Hello,
I don't know if it's a problem, the body of the messages I send have a binary format, for example:
SpESsESw��Hello, ActiveMQ
i am using Apache activeMQ v5.15.6, node v20.15.1, npm v10.7.0
connection.once('connection_open', () => {
const sender = connection.open_sender('readings');
sender.once('sendable', () => {
let message = "Hello, ActiveMQ";
sender.send({
body: message
});
console.log(`Mensaje enviado a mi_cola: ${message}`);
setTimeout(() => {
sender.close();
connection.close();
}, 500);
});
});
how can I force the body of a message to be encoded as plain JSON or text plain data?
Metadata
Metadata
Assignees
Labels
No labels