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 » how to send string and byte message together.

Post new topic  Reply to topic
 how to send string and byte message together. « View previous topic :: View next topic » 
Author Message
sriram
PostPosted: Tue Jul 08, 2008 6:03 am    Post subject: how to send string and byte message together. Reply with quote

Newbie

Joined: 27 Jun 2008
Posts: 9

Hi,
I already posted one query like transferring a PDF file using MQ. I can able to do that by converting into bytes.
Now my question is, how can i send both string message(xml document converted into string) and byte array(file converted to byte arry) together as a single message.

regards
sriram.
Back to top
View user's profile Send private message
sridhsri
PostPosted: Tue Jul 08, 2008 8:59 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

I think you may want to format you message as a MIME message. Then convert that to a byte array or something and put that on the queue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 08, 2008 11:20 am    Post subject: Reply with quote

Grand High Poobah

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

This is not feasable as part of the message is text and may need to be converted and part is bytes and we do not want to convert it....

Check the RFH2 possibilities. But this will only work if the receiver is JMS.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » how to send string and byte message together.
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.