Re: BizTalk Large Image

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If you drop the message in the queue, you'll need to do more processing work.

You could probably do your message transformation by setting the xml content (non-image) to a seperate message, map and then append the binary to that message. It would probably have very little impact on the message box. Your largest hit will come when you perform the send, so you are going to do that anyway, so I'd suggest keeping the image within scope to take advantage of BizTalk's message resumption, etc, features.

http://magazine.onlinetransmissions.com


"Mike" <Mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:81FAAF9C-9575-4C3F-97A9-B720AF2BB2EF@xxxxxxxxxxxxxxxx
Thanks, I've been thinking about it a bit more and I totally agree the third
option is the go. Putting the image through BizTalk would mean hitting the
message box a number of times.

"kailux4" wrote:



"Mike" wrote:

> What's the bests way of handling messages with large images in BTS06? > The
> end product will be a SOAP with attachments message sent to a trading > partner.
>
> Possible Options,
> *mime encode the message and keep the image totally outside the body
> *wrap an xsd:base64Binary in CDATA(will this stop the xml parser from
> parsing it?)
> *keep the image and message totally seperate and drop the image on a > queue
> whilst the xml content is being transformed by BizTalk then use a > custom
> pipeline component to retreive the image from the queue and build the > SOAP
> with attachments message.
>
Hi Mike,
You should follow the claim check pattern for your requirement. Accordingly,
the third option would be suitable as it would avoide any "performance
degradation"
You can use send pipeline component to attach the image from queue


.



Relevant Pages

  • Re: Unable to cast MSMQ body to an object
    ... why wouldn't it use the one on the queue? ... converting it to XML anyway. ... I think this should work for an XML formatter ... You can find a decent xml serialization demo here: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Unit testing - Breaking bad habits
    ... One is a Bean that pulls XML messages off a JMS queue, parses them, ... The second piece is a client jar that presents a DTO. ... setup that create test database, create test queue and put known XML message in it ...
    (comp.lang.java.programmer)
  • Re: Making the receive location work with MSMQT and MSMQ on the same machine
    ... I have a property schema and an element in all the XML files that ... unable to identify the schemas with the name spaces in my schema. ... How does Biztalk handle multiple namespaces? ... you are pointing to a queue on another server? ...
    (microsoft.public.biztalk.general)
  • Re: BizTalk Large Image
    ... I'm agree that extracting the image data from XML give any help. ... Leonid Ganeline [BizTalk MVP] ... end product will be a SOAP with attachments message sent to a trading ... pipeline component to retreive the image from the queue and build the ...
    (microsoft.public.biztalk.general)