[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MimeType changes during transfer?
Heinrich Götzger wrote:
> in my little application, which uses pub/sub of xmlBlaster, I try
>topublish and subscrib (this typo is by purpose, since s u b s c r i b e
>is a key word for majordomo and makes this eMail not being deliverd :-)
>jpg-imges and text. If text is published, all things going fine.
> But if I try to publish an jpg-image, somehow the MimeType turns from
> image/jpg at the publisher to text/plain at the subscriber within the
I just tried the following (starting xmlBlaster and sending/receiving
a binary image):
1. java org.xmlBlaster.Main
2. jaco org.xmlBlaster.client.feeder.PublishFile
-xmlKey "<key oid='MyTest.gif' contentMime='image/gif'
3. java org.xmlBlaster.client.reader.SubscribeMessage
and all works fine.
> Any ideas?
How can i reproduce your problem?
> In the example in xmlBlaster/src/java/org/xmlBlaster/client/feeder the
> xmlKey is set to "<key oid=\"MyTest.gif\" ...
> In my App I'm setting the xmlKey to an unique value, does this make
> a difference?
\"MyTest.gif\" is unique as well, if you don't reuse this
oid for another message.
> Would I need the contentMimeExtended=\"Version1.0\" attribute?
It is additional information for the receiver only,
if the receiver is not interested in such information
just don't send it (xmlBlaster does not care at all).
mailto:ruff at swand.lake.de
this is the answer Marcel send to me personally..... (10 days ago ....)