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 » IBM MQ Java / JMS » Segmentation Problem.

Post new topic  Reply to topic
 Segmentation Problem. « View previous topic :: View next topic » 
Author Message
Krishna_Bhaskar_Vonteddu
PostPosted: Wed Oct 26, 2005 5:53 am    Post subject: Segmentation Problem. Reply with quote

Novice

Joined: 05 Sep 2005
Posts: 11

Hello everybody,
Iam trying to put a meesage in a localqueue using java base api program. The message length is more than 4mb. So my intension is that the message should be segmented and those segments should be kept in the queue. In my program Iam able to kept a file which is less than 4mb but the problem is with the files more than 4mb. So, to do segmentation I referred IBM site and seen that the following field should be used:

pmo.options = MQC_SEGMENTATION_ALLOWED;

but this variable is throwing compilation error that 'unknown symbol' in the package 'com.ibm.mq.*'.
Iam using MQ Series5.3 on Windows2000.
Please help me.
Thanks for seeing this.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Oct 26, 2005 8:41 am    Post subject: Reply with quote

Jedi

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

Quote:
pmo.options = MQC_SEGMENTATION_ALLOWED

Firstly, that is the wrong format for an MQ Constant in Java.

Secondly, that's not how you specify that segmentation is allowed.
Quote:
I referred IBM site and seen that the following field should be used

Where exactly.

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
Krishna_Bhaskar_Vonteddu
PostPosted: Wed Oct 26, 2005 10:08 am    Post subject: Reply with quote

Novice

Joined: 05 Sep 2005
Posts: 11

First thanx Eddie,I has found the segmentation at the following site:

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/usesync.htm

and if the field specification is wrong can u suggest what is the correct one for Segmentation.

Cheers,
Bhaskar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 26, 2005 10:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to read the Using Java manual.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Java / JMS » Segmentation Problem.
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.