Author |
Message |
Topic: how to delete message in the queue after i get it? |
bigmq
Replies: 10 Views: 4118
|
Forum: General Discussion Posted: Tue Jan 18, 2005 9:46 am Subject: how to delete message in the queue after i get it? |
all right, i changed my options to
gmo.options = MQC.MQGMO_WAIT + MQC.MQGMO_CONVERT;
but now i found another problem: i only can get the last message out in the queue, other messages are still si ... |
Topic: how to delete message in the queue after i get it? |
bigmq
Replies: 10 Views: 4118
|
Forum: General Discussion Posted: Tue Jan 18, 2005 8:54 am Subject: how to delete message in the queue after i get it? |
Yes, sir, i do use get instead of browse:
myQueue.get(myMessage, gmo);
and these options are used:
MQGetMessageOptions gmo = new MQGetMessageOptions();
gmo.options = MQC.MQGMO_WAIT | MQ ... |
Topic: how to delete message in the queue after i get it? |
bigmq
Replies: 10 Views: 4118
|
Forum: General Discussion Posted: Tue Jan 18, 2005 8:39 am Subject: Thank you bower |
I think i just use browse, but i did get message out and make a file, why?
and how i "really" get the message out of the queue, and delete them after i get, change some options? or what?
Many thanks |
Topic: how to delete message in the queue after i get it? |
bigmq
Replies: 10 Views: 4118
|
Forum: General Discussion Posted: Tue Jan 18, 2005 6:46 am Subject: how to delete message in the queue after i get it? |
When i use mqGet method, i thought the message should be deleted automatically, but it is not, why? and how I could delelte them after i get them?
Thanks a million |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 2:45 pm Subject: 2042 |
I tried to send a file as messages into a queue, but i always get this error message 2042, what does this mean, how do i fix it?
Many thanks! |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 1:37 pm Subject: Need Urgent Help! ( many thanks) |
Thank you very much!, one more question, when i run my putmessage java code, i got 2045 error code. I setup two different queue names under one queue manager, is it ok? why i have these error message. |
Topic: how do i iterate over the queue ? |
bigmq
Replies: 1 Views: 1672
|
Forum: IBM MQ Java / JMS Posted: Mon Dec 06, 2004 11:29 am Subject: how do i iterate over the queue ? |
I want to get all message out of the queue and write to a file, i am using browsing option right now: openOptions = MQC.MQOO_BROWSE
so that i only get the first message out, how do i set a loop in ... |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 11:23 am Subject: Need Urgent Help! ( many thanks) |
how do i iterate over the queue , in other words, how do i know it is the end of the queue? Sorry for the dump questions, i am a really newbie |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 11:13 am Subject: question again? |
i used the mqbrowse sample from this forum, and i changed a little bit of code, try to write all messages into one file. When i run the program, it gives me this exception:
Java exception: java.io.EO ... |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 10:00 am Subject: Need Urgent Help! ( many thanks) |
The data inside the queue is xml file. When i retrieve the message, everytime i run my java code, i always get the first message and it stops getting the rest of the file. MY code is like this:
op ... |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 9:33 am Subject: Need Urgent Help! ( many thanks) |
Thanks, bower5932
I used readString, and i got the only string message out, thanks. But now, i always get the first message, how do i get all the message out. |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 7:57 am Subject: Need Urgent Help! ( many thanks) |
I used "amqsbcq" command to browse the queue, by the way. |
Topic: Need Urgent Help! ( many thanks) |
bigmq
Replies: 16 Views: 11792
|
Forum: General Discussion Posted: Mon Dec 06, 2004 7:51 am Subject: Need Urgent Help! ( many thanks) |
I got a message file from the MQ, when i browse it, i found the message inside the quese look like this:
00000000: 3C45 7874 6572 6E61 6C49 6E74 6572 6661 '<ExternalInterfa'
00000010: ... |
Topic: Real- time acknoledge response Message help! |
bigmq
Replies: 7 Views: 2944
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 30, 2004 11:10 am Subject: Real- time acknoledge response Message help! |
Many thanks for everybody, by the way, jefflowrey, your company doesn't call me.
I thought i could put my java program into a unix cron and run it like every 5 minutes to get message out and put ba ... |
Topic: Real- time acknoledge response Message help! |
bigmq
Replies: 7 Views: 2944
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 30, 2004 7:14 am Subject: Real- time acknoledge response Message help! |
Hi, all
I am developing a application by using MQ base Java, here are some problems i am struggling at, since i am a newbie for MQ, any helps for my dump questions will be so appeciated!
When the ... |