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 Discussion » send pdf / pics through MQ

Post new topic  Reply to topic
 send pdf / pics through MQ « View previous topic :: View next topic » 
Author Message
xtreme_machine
PostPosted: Tue Sep 18, 2007 7:19 pm    Post subject: send pdf / pics through MQ Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

Hi Experts,

MQ really facinates me... being new , the question may be vague .. but will definitely help me in along way to understand MQ better...

I want to send a PDF..or say a jpef file through MQ. how is it possible... what changes needs to be done on the sending and the receiing side...

is there any facilty in MQ where i can attach a file....and send it across through amqsput

thx
XM
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Sep 18, 2007 8:40 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Put the msg with Format MQFMT_NONE.

Also, reference msgs can send files over a channel. There is a sample app which does this.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Tue Sep 18, 2007 9:13 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

thanks for your reply.....

but isnt there any way that i can attach a file from amqsput command....
my question is from administrator point of view ....


thx
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 18, 2007 10:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

xtreme_machine wrote:
but isnt there any way that i can attach a file from amqsput command....


amqsput is not a command, it's a piece of sample code. As delivered it takes a string of 100 bytes and sends it, so is unsuitable for your needs.

Either use it as a template for an application designed as Nigelg suggests, or purchase a file-over-MQ solution like PM4DATA.

(No endorsement intended, other file moving products are available, etc, etc).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Tue Sep 18, 2007 11:24 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

hi vitor,

thx for the pointer . ..but i wonder how the receving appln will be able to read the data...../ validate the file... what are the changes/conf required on the receiving appln... how will be they able to view the pdf/pic file sent over MQ ...

thx
xm
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 18, 2007 11:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

xtreme_machine wrote:
thx for the pointer . ..but i wonder how the receving appln will be able to read the data...../ validate the file... what are the changes/conf required on the receiving appln... how will be they able to view the pdf/pic file sent over MQ ...


If you purchase PM4DATA (or similar, see above) then the file will be delivered into the target file system, if so configured (and I expect in this instance you would). PM4DATA does have the ability to turn files into messages but that wouldn't make sense in your requirement.

If you write an application as suggested to transfer the file over MQ, obviously you'd need a matching application (presumably based on amqsget) to read it off and write it to the file system.

In both instances you'd view it with the software of your choice.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 19, 2007 12:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

If you want more information, may I unreservedly recommend this page on Roger's site:

http://www.capitalware.biz/mqseries.html

You'll find a list of the commerical software available for WMQ (including file transfer software), as well as a host of other useful links.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Wed Sep 19, 2007 12:19 am    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

thanks SIR
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Sep 19, 2007 2:24 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Another is to convert the file to character representation (eg BASE64) and include it as part of a string message.

Also look at reference messages which allow the transportation of files by the queue managers.

Finally there is a simple file transfer interface supplied as part of MQ.
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 Discussion » send pdf / pics through MQ
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.