Author |
Message
|
rajmq |
Posted: Sun Nov 16, 2003 7:14 am Post subject: Mirror Q !!! or How to store message from Q?? |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
Currently using java program i am putting the message to my remotequeue.From there it will reach the remote system.
But my requirement is after reaching the qmgr RemQ, i need to write the message to one place in MQServer itself.
Basically i need to trace IN and OUT message to MQServer itself.
http://www.developer.ibm.com/tech/sampmq.html
From the above path i was down loaded one prg mirrorq.c ,Is it available on java ??
can anyone suggest any other ideas
regards
raj |
|
Back to top |
|
 |
JasonE |
Posted: Sun Nov 16, 2003 7:48 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Api exits only get executed in the MQ Server processing the MQ API call, so these samples will work just as effectively there when a java pgm is putting the msgs.
I assume COA/COD doesnt help you? |
|
Back to top |
|
 |
rajmq |
Posted: Tue Nov 18, 2003 2:02 pm Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
Thanks for ur Reply
I am not able to understand ur answer.......could pls post more detail.
My requirement is
IN and Out messages i need to write separate logs in MQServer.
And also is it really Qmgr will write the messages to any place??
regards
raj |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Nov 19, 2003 6:18 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'm not sure that I understand what you are asking. Do you want to know all of the messages that go into/out of a qmgr through a given channel? If so, this sounds like something you'd put in a channel exit. |
|
Back to top |
|
 |
rajmq |
Posted: Wed Nov 19, 2003 7:59 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi Bower
Thanks of ur Reply
Currently our Application scenerio is like
Applicaiton A is putting the message(using java prg) to LCL Q.Application B is reading the messgae(using JAVA) and it is putting the Reply another LCL Q.Again Application A is reading the message using the CorrID match concept.
Here problem is.......it is working almost fine,But recently i had a problem Application B has put the message to LCL Q.Application A was not received that message.
After this problem i am planning to write the all IN and OUT messages from the queue.
1.How can i do the above requirement??
2.Is it possible to trace the old message from Qmgr?
3.Any other suggestion ..
regards
raj |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Nov 19, 2003 11:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I can't say that I've seen MQ lose messages. It sounds like your situation is only dealing with local messages. You could look into the other version of mirrorq (the one that uses triggering) to copy your messages somewhere. You could also check your dead letter queue to make sure that the message didn't get there. You might also look into the COA/COD type of options. I'd also suggest that you walk through your programs to make sure there isn't a path where they might get a message and inadvertantly throw it away. Also, double-check that there is error handling for the put not working. Logging all of the message traffic to find a missing message sure seems like a lot of overhead. |
|
Back to top |
|
 |
|