O'Reilly logo

Professional BizTalk® Server 2006 by Ewan Fairweather, Kevin B. Smith, Darren Jefford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.11. Deploying Rules

The Rules Engine Deployment Wizard, shown in Figure 7-36, enables you to perform all the deployment tasks required for rules, including deploying a policy that has been published or undeploying a policy that has already been deployed.

You can publish and deploy from within the Business Rules Composer, but in most cases deployment is owned by another department within your organization, which is where the Rules Engine Deployment Wizard comes in.

Figure 7.36. Figure 7-36

The permission to deploy a policy is restricted to BRE administrations; "normal" BRE developers are now allowed to deploy policies. Such permission is granted via the RE_Admin_Users SQL Server role, which by default includes BizTalk administrators.

7.11.1. Programmatically Deploying Rules

The Rules Composer and Deployment Wizard cover almost all deployment cases, apart from a scenario whereby you need to deploy rules from an automated script. A daily build and deployment of your solution is a classic example.

The Deployment Wizard cannot be called from a command line with parameters to automate deployment, which has caused many problems for configuration managers looking to automate the entire build and deployment of a solution.

Although a tool is not available out of the box, you can deploy rules via the Rules Engine API, and specifically the RuleSetDeploymentDriver class. The following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required