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 » amqsput/amqsget samples

Post new topic  Reply to topic
 amqsput/amqsget samples « View previous topic :: View next topic » 
Author Message
offshore
PostPosted: Wed Jun 23, 2004 11:00 am    Post subject: amqsput/amqsget samples Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

Hi all,

This is a question I should probably know but...

In the samples is there a limit to the size of the message that can be put & get?

looking at the amqsput0.c mqbyte = buffer[101] and amqsput0.c mqbyte = buffer [100].

Is that the limit 100K & 101K?

Thanks.
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Wed Jun 23, 2004 11:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The limit is in bytes. You can always change the value and recompile.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
PGoodhart
PostPosted: Thu Jun 24, 2004 10:03 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2004
Posts: 278
Location: Harrisburg PA

In addition to the buffer size, the samples are not set up to segment messages automatically so you may need to change the put and get options if your messages are going to be larger then your max message size on the queue.
_________________
Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin
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 » amqsput/amqsget samples
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.