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 » WebSphere Message Broker (ACE) Support » MIME message help

Post new topic  Reply to topic
 MIME message help « View previous topic :: View next topic » 
Author Message
special_agent_Queue
PostPosted: Thu Jul 27, 2006 10:04 am    Post subject: MIME message help Reply with quote

Centurion

Joined: 27 Jul 2006
Posts: 102

I am using the v5 broker, and I am trying a create a message with MIME headers and soap with attachment form.

I know that the v5 doesn't support this by itself. I worked around the issue of receiving a MIME message by parsing it as a blob and stripping the MIME headers, and using a RCD to "change" it to xml.

Is there a workaround for creating the MIME headers for an XML out? Or is there a plugin/parser already written for this? Or how would I go about writing a plugin/parser for this?

Thanks
Back to top
View user's profile Send private message
special_agent_Queue
PostPosted: Mon Jul 31, 2006 8:24 am    Post subject: Reply with quote

Centurion

Joined: 27 Jul 2006
Posts: 102

hello?
any ideas other than to upgrade to v6?
Thanks!
Back to top
View user's profile Send private message
msukup
PostPosted: Tue Aug 01, 2006 11:27 am    Post subject: Reply with quote

Acolyte

Joined: 11 Feb 2002
Posts: 56

here is what i would try in version 5 (untested, but i would start here):

look up MimeMessage in this forum, there is some code for creating a MimeMessage in a java compute node or java plug-in in the following post:

http://www.mqseries.net/phpBB2/viewtopic.php?t=29753&highlight=mimemessage

With this as example, you can create MIME headers/etc. Then, instead of transporting MimeMessage in email, you can use the writeTo method of MimeMessage to write to a ByteArrayOutputStream. Once it is in ByteArrayOutputStream, append to Message body as BLOB. Hopefully, the MimeMessage serialized to outputStream will be in correct format.
Back to top
View user's profile Send private message MSN Messenger
special_agent_Queue
PostPosted: Wed Aug 02, 2006 11:24 am    Post subject: Reply with quote

Centurion

Joined: 27 Jul 2006
Posts: 102

Thanks. I will have to look into that.
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 » WebSphere Message Broker (ACE) Support » MIME message help
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.