Supressing Outbound files
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Supressing Outbound files




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Supressing Outbound files  
Vishal Somaiya


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-06 10:52 PM

Hello,

Does anyone know if it is possible to supress a Biztalk 2004 outbound file
(i.e. the processed file) within an Orchestration or by any other methods?

Vishal







[ Post a follow-up to this message ]



    Re: Supressing Outbound files  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-06 10:52 PM

Vishal,

> Hello,
>
> Does anyone know if it is possible to supress a Biztalk 2004 outbound file
> (i.e. the processed file) within an Orchestration or by any other methods?

What exactly do you mean by this?

If you mean just discarding sent messages (because, for example you're just
doing a dummy send to initialize a correlation set), then one way to do it
would be to use my own null adapter [1] or Patrick Welling's NOPE adapte
r
[2]

[1]
http://www.winterdom.com/weblog/200...br />
934802d5


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Re: Supressing Outbound files  
Vishal Somaiya


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-21-06 12:48 PM

Hi Tomas,

Well, i'm trying to supress an empty message that still prodcues a file. I
don't want to supress it completely, only if the message is empty.

Any thoughts?

Vishal


"Tomas Restrepo (MVP)" <tomasr@mvps.org> wrote in message
news:uqeocFkNGHA.916@TK2MSFTNGP10.phx.gbl...
> Vishal,
> 
file 
methods?[vbcol=seagreen]
>
> What exactly do you mean by this?
>
> If you mean just discarding sent messages (because, for example you're
just
> doing a dummy send to initialize a correlation set), then one way to do it
> would be to use my own null adapter [1] or Patrick Welling's NOPE adap
ter
> [2]
>
> [1]
>
http://www.winterdom.com/weblog/200...pterSample.aspx
> [2]
>
http://www.gotdotnet.com/Workspaces...bb-c0ae934802d5[v
bcol=seagreen]
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>







[ Post a follow-up to this message ]



    Re: Supressing Outbound files  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-21-06 12:48 PM

Hi Vishal,

> Hi Tomas,
>
> Well, i'm trying to supress an empty message that still prodcues a file. I
> don't want to supress it completely, only if the message is empty.

Not quite sure I understand what you mean here, what do you mean exactly by
"an empty message" ?


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Re: Supressing Outbound files  
Greg Forsythe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-21-06 12:48 PM

You could use a decide shape and only send the outputmessage if the size gtr
zero

To determine the message size, you will need to implement the SMTP.Utilities
from the documentation
and add the following static function.
public static int GetPartSize(Microsoft.XLANGs.BaseTypes.XLANGPart part)
{
return
(int)part.GetPartProperty(typeof(Microsoft.XLANGs.BaseTypes.Size));
}

Within a decide shape you add a rule branch with:
SMTP.Utilities.Part.GetPartSize(ouputMessage) > 0
This rule branch would contain a Send shape, the Else branch would do
nothing

Greg

"Vishal Somaiya" <vsomaiya@bca-group.com> wrote in message
news:ua990csNGHA.720@TK2MSFTNGP14.phx.gbl...
> Hi Tomas,
>
> Well, i'm trying to supress an empty message that still prodcues a file. I
> don't want to supress it completely, only if the message is empty.
>
> Any thoughts?
>
> Vishal
>
>
> "Tomas Restrepo (MVP)" <tomasr@mvps.org> wrote in message
> news:uqeocFkNGHA.916@TK2MSFTNGP10.phx.gbl... 
> file 
> methods? 
> just 
> http://www.winterdom.com/weblog/200...le.aspx
 
> http://www.gotdotnet.com/Workspaces... />
ae934802d5 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:22 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register