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 » IBM MQ Java / JMS » please let me know what the MQ API to remove the xmit header

Post new topic  Reply to topic
 please let me know what the MQ API to remove the xmit header « View previous topic :: View next topic » 
Author Message
beth_carlin
PostPosted: Mon Aug 16, 2010 9:09 pm    Post subject: please let me know what the MQ API to remove the xmit header Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Mon Aug 16, 2010 11:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Aug 17, 2010 4:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » please let me know what the MQ API to remove the xmit header
Jump to:  



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
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.