Service Broker Control Design Time Considerations

This section outlines some of the issues you must consider when you are designing a Service Broker control for your business process. The issues covered in this section are:

Using a Service Broker Control in Stateless and Stateful Business Processes

The number of transactions contained in a business process determines whether the process is stateless or stateful. For more information, see Building Stateless and Stateful Processes. This section covers some of the issues you should consider when designing a Service Broker control for stateless and stateful business processes.

When designing your Service Broker control, adhere to the following rules:

Using Service Broker Controls in Synchronous and Asynchronous Business Processes

Business processes can have both synchronous or asynchronous request methods. For more information, see Building Synchronous and Asynchronous Business Processes. This section covers some of the issues you should consider when designing a Service Broker control for synchronous and asynchronous business processes.

When designing your Service Broker control, remember:

Using a Service Broker Control from the Parent Process

The Service Broker control is typically used to call a subprocess from a parent business process. When the Service Broker control is invoked from the parent process, the control is invoked normally if the subprocess is in the same domain.

In cases where the parent process and subprocess are in different domains, or in the same domain but in different applications, and you want to use the Service Broker control for the parent process to communicate with the subprocess, you must create the Service Broker control in the subprocess domain or application, then manually copy it to the parent process domain or application, and then reference it as an existing JCX file.

Additionally, when the parent process and subprocess are in different applications, you will manually have to change the JMS and/or HTTP location of the location attribute.

Service Broker Control Location

When you create a Service Broker control, it is displayed in the Applications tab and an instance of the control is added to the Data Palette. The location of the Service Broker control is displayed in the Property Editor.

Note: If the Property Editor is not visible in WebLogic Workshop, click View —> Property Editor from the menu bar.

To view the location of the Service Broker control:

  1. Double-click the Service Broker control JCX file in the Application pane.
  2. The Service Broker control is displayed in the Design View and the Property Editor displays the properties of the Service Broker control.

    image

    The location of the Service Broker control is displayed in the location section of the Property Editor. The location can contain a HTTP and/or JMS attribute. The HTTP location is a true HTTP address and the JMS location is a JMS url.

Related Topics

Building Stateless and Stateful Business Processes

Building Synchronous and Asynchronous Business Processes

Previous Document Next Document