# @jpd:selector Annotation

The @jpd:selector annotation precedes an XQuery definition in a business process (JPD) file. The XQuery definition can specify the dynamic callback properties for a Client Response node, or in the case of a Process or a Service Broker control, the XQuery allows dynamic selection of subprocesses at run time. In other words, configuration of the business process at run time allows one of multiple subprocesses to be called.

Syntax

@jpd:selector xquery::

Remarks

The XQuery definition can specify the dynamic callback properties for a Client Response node, or in the case of a Process or a Service Broker control, the XQuery allows dynamic selection of subprocesses at run time.

For a Process control or a Service Broker control, the dynamic selector allows you to configure a lookup property based on a LookupControl or TPM function. You can then configure your business process in the WebLogic Integration Administration Console such that at run time, the security of the callback to the client is handled differently, based on the value of the lookup property that you specified in the dynamic selector.

To learn about adding dynamic callback properties for Client Response nodes in a business process, see "Adding Dynamic Callback Properties" in Sending Messages to Clients.

To design a dynamic selector for a Process control, see Editing and Testing a Dynamic Selector.

To design a dynamic selector for a Service Broker control, see Editing and Testing a Dynamic Selector.