|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Remote queue name |
« View previous topic :: View next topic » |
Author |
Message
|
jj.unlimit |
Posted: Wed Sep 24, 2008 2:11 am Post subject: Remote queue name |
|
|
Novice
Joined: 17 Sep 2008 Posts: 12
|
I have read the IBM help on "Channel-exit calls and data structures" .
Couldnt find that any info in the data structure has the remote queue name.
Currently, as discussed on the previous thread, im working on a receiver exit program. However tehre is no variable thats indicating that it is pointing to the remote queue name.
Anyone has any idea how to get the remote queue name for my exit program?
Thanks in adv! |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Sep 24, 2008 9:12 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Look in the MQXQH structure in the message data. _________________ Glenn |
|
Back to top |
|
 |
jj.unlimit |
Posted: Thu Sep 25, 2008 2:31 am Post subject: |
|
|
Novice
Joined: 17 Sep 2008 Posts: 12
|
I found the value in MQXQH structure.
when i print it out... its some invalid values like heart and diamonds
PMQXQH pMQXQH;
pMQXQH = (PMQXQH) AgentBuffer;
if(pMQXQH != NULL_POINTER){
int i;
char tmp [sizeof(pMQXQH->RemoteQName)];
memcpy (tmp,pMQXQH->RemoteQName, sizeof
(pMQXQH->RemoteQName) ) ;
strtok(tmp, " ");
fprintf(fp, "%s\n",tmp);
}
is it somewhere wrg.
using the same method, i try to get out the msgid from the msgdesc, in the end i also getting the wrg values... |
|
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
|
|
|
|