|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Send a pdf file as an attachement along with a message. |
« View previous topic :: View next topic » |
Author |
Message
|
sriram |
Posted: Fri Jun 27, 2008 8:28 am Post subject: Send a pdf file as an attachement along with a message. |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Jun 27, 2008 8:33 am Post subject: Re: Send a pdf file as an attachement along with a message. |
|
|
 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 |
|
 |
sriram |
Posted: Fri Jun 27, 2008 10:52 am Post subject: |
|
|
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 |
|
 |
sriram |
Posted: Fri Jun 27, 2008 10:53 am Post subject: |
|
|
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 |
|
 |
cfarkas |
Posted: Fri Jun 27, 2008 11:15 pm Post subject: Sending PDF file |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|