|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
please let me know what the MQ API to remove the xmit header |
« View previous topic :: View next topic » |
Author |
Message
|
beth_carlin |
Posted: Mon Aug 16, 2010 9:09 pm Post subject: please let me know what the MQ API to remove the xmit header |
|
|
Acolyte
Joined: 08 Jun 2004 Posts: 64
|
please let me know what the Java/MQ API to remove the entire xmit header.
from the output I can see that xmit header starts with XQH and ends with some kind of java date '2010052419423876' , then the msg content starts.
I can use brute force in Java to remove this xmit header but I am wondering if there is an API to do this. THanks very much |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Aug 16, 2010 11:29 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
there is no mq api to remove the header.
however, the xmit header is removed by mqseries itself when the message is placed into the destination queue at the target queuemanager., so in most cases application programs do not have to deal with the xmit header.
what are you trying to archive? why do you have to deal with the xmitq header? _________________ Regards, Butcher |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 17, 2010 4:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Mr Butcher wrote: |
what are you trying to archive? why do you have to deal with the xmitq header? |
If you have to do this so often you need an application to do this, something's very wrong with your setup.
The reason there's no api or other easy way to do this is because you should never need to do this (except as a last resort problem solving technique after a queue manager crash or hardware failure, and maybe not even then). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|