Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > BIZTALKSERVER (TECHNET) > BizTalk 2004 custom adapter: what is the message size
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 21st July 03:22
ba
External User
 
Posts: 1
Default BizTalk 2004 custom adapter: what is the message size



Asborn,

All excellent points.

I'm going to try some of those revisions and see where it goes.

I'll post the class back to the thread.

Cheers,

I Ferreira
  Reply With Quote


  sponsored links


2 21st July 03:22
ba
External User
 
Posts: 1
Default BizTalk 2004 custom adapter: what is the message size



Asborn,

All excellent points.

I'm going to try some of those revisions and see where it goes.

I'll post the class back to the thread.

Cheers,

I Ferreira
  Reply With Quote
3 21st July 03:31
ba
External User
 
Posts: 1
Default BizTalk 2004 custom adapter: what is the message size


I made a copy of the message and then measured the copies length, that
sorted out the end of stream problem.

The simplification also worked well.


The issue that I cant figure out is how to let it grow to accomodate much
bigger file sizes, without setting a ridicilous buffer. I guess I answered
my own question writing that, I guess it might need to be a context property
in the pipeline, that way its not in the adapter at all, its just a
paramater that gets attached to the message.

That would require a pipeline component that measures the message before
giving it over to the adapter.

Do you, or anyone know another place in BizTalk that the message size in
byte[] can be retrieved within BizTalk with less work?
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666