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 » WebSphere Message Broker (ACE) Support » WHat is the difference between CopyMesssageHeaders() and Cop

Post new topic  Reply to topic
 WHat is the difference between CopyMesssageHeaders() and Cop « View previous topic :: View next topic » 
Author Message
aniket13
PostPosted: Wed Sep 01, 2010 2:10 am    Post subject: WHat is the difference between CopyMesssageHeaders() and Cop Reply with quote

Newbie

Joined: 30 Aug 2010
Posts: 5

WHat is the difference between CopyMesssageHeaders() and CopyEntireMessage() procedures?

What are the scenarios where we call CopyMessageHeaders only ?
What are the scenarios where we call CopyEntireMessage only ?
What are the scenarios where we call both ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 01, 2010 2:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

This forum is not a training resource.

The answer to these questions are obvious.
Back to top
View user's profile Send private message
nathanw
PostPosted: Wed Sep 01, 2010 2:45 am    Post subject: Re: WHat is the difference between CopyMesssageHeaders() and Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

aniket13 wrote:
What are the scenarios where we call CopyMessageHeaders only ?


When you only want to copy the message headers
aniket13 wrote:
What are the scenarios where we call CopyEntireMessage only ?


When you want to copy the entire incoming message
aniket13 wrote:
What are the scenarios where we call both ?


You do not do both it is one or other!

Normally you copy message headers when you are changing the output of the message body but want to keep the MQMD etc

You copy the entire message headers and all when no changes are to be made

---------------

Also

What jeff said!
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
aniket13
PostPosted: Wed Sep 01, 2010 2:52 am    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2010
Posts: 5

Thanks a lot!!
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 » WebSphere Message Broker (ACE) Support » WHat is the difference between CopyMesssageHeaders() and Cop
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.