Author |
Message
|
Artemio |
Posted: Fri Oct 17, 2003 8:06 am Post subject: How Can I send a report MQRO_COA_WITH_DATA to QUeue remote? |
|
|
 Novice
Joined: 11 Sep 2003 Posts: 21
|
I try to send a report MQRO_COA_WITH_DATA with a application but when I send information to some Queue and try to send the reply message, don't send to remote queue and send this to dead.letter.queue
If set another queue it's work, but I need to send a remote queue.
please, help me!!!!!!!! |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Oct 17, 2003 8:09 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
The Report will be sent to the qmgr/queue you specify in the mqmd Reply to QMGR/Queue. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
EddieA |
Posted: Fri Oct 17, 2003 4:16 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
And if the Queue Manager is a remote one, then the 'sending' Queue Manager has to know which channel to send the message down. It will do this using the 'usual' rules.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
leongor |
Posted: Sun Oct 19, 2003 3:03 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
What you need it's reply-to queue alias.
On the sending side define remote queue definition you want your MQRO_COA_WITH_DATA will go.
In the outgoing message, set this remote queue as replyQ and replyQmgr as local queue manager.
Of course the replying queue manager should have appropriate xmitQ pointing to the right queue manager. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
Artemio |
Posted: Tue Oct 28, 2003 3:50 pm Post subject: |
|
|
 Novice
Joined: 11 Sep 2003 Posts: 21
|
leongor wrote: |
What you need it's reply-to queue alias.
On the sending side define remote queue definition you want your MQRO_COA_WITH_DATA will go.
In the outgoing message, set this remote queue as replyQ and replyQmgr as local queue manager.
Of course the replying queue manager should have appropriate xmitQ pointing to the right queue manager. |
Thanks but How Know the size original using MQRO_COA_WITH_DATA of my message???? |
|
Back to top |
|
 |
leongor |
Posted: Thu Oct 30, 2003 12:23 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
You need to do some trick to reach this.
There is a field in MQMD_V2 that called OriginalLength.
If you send regular message with option MQRO_COA_WITH_DATA then
this field get value MQOL_UNDEFINED.
The reason - it works only with segmented messages.
So you need to set your message as the only segment in a message.
Hope this helps. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
|