BizTalk Server General - Custom key/value configuration information?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2004 > Custom key/value configuration information?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Custom key/value configuration information?
Andrew

2004-11-09, 5:49 pm

Does BizTalk have a built-in way to retrieve custom configuration
information within an orchestration? For example, when exceptions occur I
want to send an email to the administrator. I don't want to hard-code the
email address within the Orchestration, I want to get it from a
configuration file. I can do this any number of ways but wanted to know if
BizTalk 2004 had a built-in way to support this much like a .NET app can
read a web.config or app.config file.

Thanks in advance,
Andrew


PBR

2004-11-10, 2:47 am

Andrew,

You can store the configuration information within BTSNTSvc.exe.config, but
you will have to create a component and call it from within an expression to
read the configuration data.

-- PBR

You can store this information in
"Andrew" <andrew@nospam.com> wrote in message
news:#1eprxnxEHA.3276@TK2MSFTNGP15.phx.gbl...
> Does BizTalk have a built-in way to retrieve custom configuration
> information within an orchestration? For example, when exceptions occur I
> want to send an email to the administrator. I don't want to hard-code the
> email address within the Orchestration, I want to get it from a
> configuration file. I can do this any number of ways but wanted to know

if
> BizTalk 2004 had a built-in way to support this much like a .NET app can
> read a web.config or app.config file.
>
> Thanks in advance,
> Andrew
>
>



Hugo Rodger-Brown

2004-11-10, 2:47 am

You could use the Business Rules Composer to define a new rule that sets a
value in the message to the correct email address (using the expression 1=1
as the conditional statement, so that it always fires.)

That way you can update the email address by adding a new version and
deploying it, without having to stop / start the orchestration.

I've used this before and it works very well. It's also a good way to get
non-technical people involved in the admin.

I can send more details if you wish,

Hugo
http://hugo.rodger-brown.com


larry franks

2004-11-10, 5:48 pm

There's no automated way to do this specific to an orchestration. As is
mentioned in this thread you can use rules, or a .net component, or you
could pass the e-mail address in as part of your data.
BRE would probably be the easiest way.

Larry Franks

This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| From: "Andrew" <andrew@nospam.com>
| Subject: Custom key/value configuration information?
| Date: Tue, 9 Nov 2004 09:52:09 -0700
| Lines: 12
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <#1eprxnxEHA.3276@TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: ls2c2.cwshs.com 64.86.141.134
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP15.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:21450
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| Does BizTalk have a built-in way to retrieve custom configuration
| information within an orchestration? For example, when exceptions occur I
| want to send an email to the administrator. I don't want to hard-code the
| email address within the Orchestration, I want to get it from a
| configuration file. I can do this any number of ways but wanted to know
if
| BizTalk 2004 had a built-in way to support this much like a .NET app can
| read a web.config or app.config file.
|
| Thanks in advance,
| Andrew
|
|
|

Andrew

2004-11-12, 8:46 pm

Excellent idea, I'll give that a go!

Andrew

"Hugo Rodger-Brown" <hugo@coldhams.com> wrote in message
news:e2IpTiwxEHA.1392@tk2msftngp13.phx.gbl...
> You could use the Business Rules Composer to define a new rule that sets a
> value in the message to the correct email address (using the expression
> 1=1
> as the conditional statement, so that it always fires.)
>
> That way you can update the email address by adding a new version and
> deploying it, without having to stop / start the orchestration.
>
> I've used this before and it works very well. It's also a good way to get
> non-technical people involved in the admin.
>
> I can send more details if you wish,
>
> Hugo
> http://hugo.rodger-brown.com
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com