× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.