|
This is the first time I am trying to send messages via MQ, so please
pardon my ignorance. I just copied an existing working program and changed
the MQ and MQ manager name.
I have a job which sends messages via MQ using MQPut. These messages are
read on the "cloud" (I have no idea about the platform being used, but have
heard the word "kafka" thrown about).
The messages I am sending are JSON strings. Some of my messages are read
correctly, whereas some are read as coming within ". Only difference I can
see is that the messages are of different lengths.
For example, I am sending:
{"abcd":"xyz"}
Or
{"abcd":"xyz","qwer":"asdf"}
The longer messages are received exactly as sent, but the shorter message
is received as:
"{/"abcd/":/"xyz/"}"
within "s and an escape character / before all actual "s in the message.
Shorter messages are about 1600 bytes and longer are maybe 1800.
Question is, is there any parameter in the MQPut that could do this just
due to the length of the message, or is it something that is happening at
the receiving end?
TIA
Vinay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.