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 » Send a pdf file as an attachement along with a message.

Post new topic  Reply to topic
 Send a pdf file as an attachement along with a message. « View previous topic :: View next topic » 
Author Message
sriram
PostPosted: Fri Jun 27, 2008 8:28 am    Post subject: Send a pdf file as an attachement along with a message. Reply with quote

Newbie

Joined: 27 Jun 2008
Posts: 9

Hi,
I can able to send a message to a remote queue using websphere MQ java/JMS api.
Now i would like to send a pdf file as an attachement to that message. Let me know how i can achieve this. Also let me what additional server settings i have to perform.

regards
sri
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 27, 2008 8:33 am    Post subject: Re: Send a pdf file as an attachement along with a message. Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

sriram wrote:
Hi,
I can able to send a message to a remote queue using websphere MQ java/JMS api.
Now i would like to send a pdf file as an attachement to that message. Let me know how i can achieve this. Also let me what additional server settings i have to perform.

regards
sri

This is not an email protocol...
There is no attachment. There is the message.
Use a BytesMessage type.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sriram
PostPosted: Fri Jun 27, 2008 10:52 am    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2008
Posts: 9

Hi,
Thanks for your reply. If i want to send a mail along with the message. Are you asking me to send the pdf file using byteMessagetype? If so i will differentiate between a message and a file.
Back to top
View user's profile Send private message
sriram
PostPosted: Fri Jun 27, 2008 10:53 am    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2008
Posts: 9

Sorry ignore my last message, it is having some typo error. Instead of file i sent it as mail.

Hi,
Thanks for your reply. If i want to send a file along with the message. Are you asking me to send the pdf file using byteMessagetype? If so i will differentiate between a message and a file.

regards
sri
Back to top
View user's profile Send private message
cfarkas
PostPosted: Fri Jun 27, 2008 11:15 pm    Post subject: Sending PDF file Reply with quote

Novice

Joined: 24 Jun 2001
Posts: 13
Location: France

(Below is the same answer I gave you in ibm.software.websphere.mq newsgroup where you also posted this question)

If you read about 5 items down in this forum, you'll see some discussion
about file transfer using MQ. Essentially, MQ is NOT a file transfer
product, but a messaging product. This leaves you with a few choices:
1/ Write your own code using MQ to slice a file (eg. your PDF) into pieces
on the sending side, and then some code to glue it together on the receiving
side.
2/ You can use the IBM supplied "demo" programs to do just that - these are
the programs referred to a few appends down, that as I recall are only
available on Linux and Windows. And the source code is not supplied. This
code really is just for a fun demo... not very industrialized.
3/ You can purchase several products on the market that do serious,
industrial-strength, fully managed file transfers over MQ. IBM sells one
called PM4Data. There are others. PM4Data is excellent, but it's a product
that you pay for.

--
Carl
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Send a pdf file as an attachement along with a message.
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.