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 » General IBM MQ Support » MQ Series and filenames

Post new topic  Reply to topic
 MQ Series and filenames « View previous topic :: View next topic » 
Author Message
ph_dap
PostPosted: Tue Dec 21, 2004 11:42 pm    Post subject: MQ Series and filenames Reply with quote

Novice

Joined: 19 Nov 2003
Posts: 14

Dear all,

As we have written our own modules to send and receive within our internal network, we include an envelope around every message in which we state the filename that was put on the MQ Series queue. On the receiving end we determine the filename from the envelope, then remove the envelope and store the message under its original filename.

All works fine, until ... we had to contact external MQ Series queuemanagers. As they have their own modules to receive messages send by us, they are not able to extract the original filename (as it was on our side), because we don't include the envelope when sending messages to them (its optional in our sending module).

Is there a way in which our counterpart can retrieve the original filename, preferably by using standard MQ functionality?

Any answer would be highly appreciated.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Dec 22, 2004 12:49 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

One way is to use reference msgs.
The header description is in the APR, under MQRMH. There are also sample programs amqsxrma & amqsgrma, described in the APG.

However, would it not be simpler to send the original filename to the recipient in the msg somewhere?
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 » General IBM MQ Support » MQ Series and filenames
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.