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 » Search

 Search found 15 matches
Author Message
  Topic: Strange grouping issue
nzr1949

Replies: 8
Views: 5944

PostForum: IBM MQ Java / JMS   Posted: Thu Jul 28, 2005 4:40 am   Subject: Strange grouping issue
Managed to find the problem: I wasn't specifying the GetMessage option
"MQC.MQGMO_LOGICAL_ORDER" in my code.

Thanks for everyone's help!
  Topic: Strange grouping issue
nzr1949

Replies: 8
Views: 5944

PostForum: IBM MQ Java / JMS   Posted: Thu Jul 28, 2005 12:24 am   Subject: Strange grouping issue

You will have to find something else like displaying the hex value of every byte in the array


I did this and (lo and behold) all the groupIds now magically match:


Message number: 1
Group ...
  Topic: Strange grouping issue
nzr1949

Replies: 8
Views: 5944

PostForum: IBM MQ Java / JMS   Posted: Wed Jul 27, 2005 1:02 pm   Subject: Strange grouping issue
Taken from the second portion of code in my first post (reads grouped messages from queue):


this.myQueue.get(msg, ops);

System.out.println("Group ID: " + msg.groupId& ...
  Topic: Strange grouping issue
nzr1949

Replies: 8
Views: 5944

PostForum: IBM MQ Java / JMS   Posted: Wed Jul 27, 2005 12:25 pm   Subject: Strange grouping issue

Where do you explicitly assign the group id?


I haven't explicitly assigned the groupdId, the only reference to grouping is when I set the messageFlags to MQMF_MSG_IN_GROUP and MQC.MQMF_LAST_MSG ...
  Topic: Strange grouping issue
nzr1949

Replies: 8
Views: 5944

PostForum: IBM MQ Java / JMS   Posted: Wed Jul 27, 2005 9:01 am   Subject: Strange grouping issue
Hi,

I'm trying to place a set of messages onto a queue as a group, so they should all share the same groupId value and each should have an incrementing sequence value. I thought that I managed to g ...
  Topic: Question about readLine
nzr1949

Replies: 5
Views: 5574

PostForum: IBM MQ Java / JMS   Posted: Wed Jul 27, 2005 4:31 am   Subject: Question about readLine
That works like a charm.

Thanks!
  Topic: Segmentation problem: message too large
nzr1949

Replies: 20
Views: 52576

PostForum: IBM MQ Java / JMS   Posted: Wed Jul 27, 2005 12:33 am   Subject: Segmentation problem: message too large
Hi,

Thanks for everyone's replies. I've put automatic segmentation on hold for now since it's been giving me so trouble. I've decided to "manually" do it by splitting up the file into segments in m ...
  Topic: Segmentation problem: message too large
nzr1949

Replies: 20
Views: 52576

PostForum: IBM MQ Java / JMS   Posted: Tue Jul 26, 2005 6:23 am   Subject: Segmentation problem: message too large
I'm on the Windows platform
  Topic: Segmentation problem: message too large
nzr1949

Replies: 20
Views: 52576

PostForum: IBM MQ Java / JMS   Posted: Tue Jul 26, 2005 1:42 am   Subject: Segmentation problem: message too large
fschofer:

I tried using the source code you posted but still have the same problem. You said that the code works fine for you, then this could mean that my problem isn't the code but something else ...
  Topic: Segmentation problem: message too large
nzr1949

Replies: 20
Views: 52576

PostForum: IBM MQ Java / JMS   Posted: Mon Jul 25, 2005 8:19 am   Subject: Segmentation problem: message too large
Yep, that MQC.MQPMO_SET_IDENTITY_CONTEXT shouldn't be in there. I now have these options as:


int openOptions = MQC.MQOO_OUTPUT | MQC.MQOO_INQUIRE |
MQC.MQOO_FAIL_IF_QUIESCIN ...
  Topic: Segmentation problem: message too large
nzr1949

Replies: 20
Views: 52576

PostForum: IBM MQ Java / JMS   Posted: Mon Jul 25, 2005 7:44 am   Subject: Segmentation problem: message too large
Hi,

I am using MQSeries Java and connecting to a remote queue. I am attempting to use segmentation to post a large file onto a queue as several messages. I am encountering an error with reason code ...
  Topic: Question about readLine
nzr1949

Replies: 5
Views: 5574

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 22, 2005 7:44 am   Subject: Question about readLine
Sorry, that was a typo, it should read:


while ((line = msg.readLine()) != null)


I'm still stumped, how do you detect the last line in the message?
  Topic: Question about readLine
nzr1949

Replies: 5
Views: 5574

PostForum: IBM MQ Java / JMS   Posted: Fri Jul 22, 2005 12:48 am   Subject: Question about readLine
Hi,

I've placed a text file onto a queue and would like to read the contents of the file back off the queue and then write them to a text file. I'm using the readLine() method to read one line of t ...
  Topic: Question about processing messages on a queue
nzr1949

Replies: 3
Views: 2271

PostForum: IBM MQ Java / JMS   Posted: Wed Nov 17, 2004 1:14 am   Subject: Question about processing messages on a queue
Thanks for the responses everyone. The supplied link was very useful indeed.
  Topic: Question about processing messages on a queue
nzr1949

Replies: 3
Views: 2271

PostForum: IBM MQ Java / JMS   Posted: Tue Nov 16, 2004 9:52 am   Subject: Question about processing messages on a queue
Hi guys,

I am a little stuck at the moment. What I'm trying to do is read each of the messages on a queue one at a time. I want to do it in browse mode so that I don't delete them as they are read. ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.