ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » No message larger than 1k?

Post new topic  Reply to topic
 No message larger than 1k? « View previous topic :: View next topic » 
Author Message
tessmonsta
PostPosted: Mon Mar 06, 2006 6:33 am    Post subject: No message larger than 1k? Reply with quote

Apprentice

Joined: 06 Mar 2006
Posts: 29

I have a client that's using WebSphere MQ Express 5.3. His company is trying to send messages to one of their clients across a secure channel. The problem is, their messages keep getting truncated to 1024 bytes.

We've already changed the MAXMSGL of the queues and channels to the allowed limit for MQ Express, this did not have an effect. I began to suspect the application they were using to post messages (written in .NET so the BufferSize shouldn't be an issue). So I had them construct a local queue, and use the MMC put test message utility to but a message larger than 1k. Again, the messages were trunctated to 1024 bytes.

We're about to run out of ideas, can anyone help?
_________________
"If you meet the Buddha, kill the Buddha." - Lin Chi
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
wschutz
PostPosted: Mon Mar 06, 2006 6:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Well. MQ will not truncate the message ever on the "mqput" side ... it will either put the entire message or return a code saying the message is to big (or put the message to the DLQ if its larger than the channel can handle (not for client though) )....

How do you know how big the message is? Is it possible your "getting" program is truncating the message (ACCEPT_TRUNCATED_MSG) ?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
tessmonsta
PostPosted: Mon Mar 06, 2006 6:56 am    Post subject: Reply with quote

Apprentice

Joined: 06 Mar 2006
Posts: 29

We were using the MMC to read the size of the messages while they were still on the queue. We also performed a browse using the amqsbcg utility. I don't see how the messages could be truncated with either of those.
_________________
"If you meet the Buddha, kill the Buddha." - Lin Chi
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
wschutz
PostPosted: Mon Mar 06, 2006 7:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
So I had them construct a local queue, and use the MMC put test message utility to but a message larger than 1k
So you used the MMC to generate a message > 1024 bytes and it was still truncated?
I don't use MMC much, so I know know about any limitations there, but I'd suggest using amqsblst to put a large message to your queue and then see what happens:
Code:
amqsblst -b 2096 -c 1 QUEUE QMGR
...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
EddieA
PostPosted: Mon Mar 06, 2006 11:00 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
I don't see how the messages could be truncated with either of those.

Very easily. If the code is written to accept Truncated messages.

From memory, amqsbcg doesn't do that, but you can easily check, as the source code is provided.

As far as the MMC snap-in goes, that definitely will truncate data when it gets to a certain size when viewing.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » No message larger than 1k?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.