### Dynamic Publish Action Properties

In a message flow, use a dynamic publish action to publish a message to a service specified by an XQuery expression.

In the Message Flow Editor, click a dynamic publish action to display its properties in the Properties view. Use these properties pages to configure the selected dynamic publish action. The pages are:

- Dynamic Publish
- Comment
- Namespaces
- Variables

The Dynamic Publish page has the following options:

Option | Description
--- | ---
Service | An XQuery expression that defines the service to which a message is to be published. To create or edit the expression, click <Expression> (or the expression_fragment, if one is already defined) to display the XQuery/XSLT Expression Editor. In the editor, enter an Xquery expression or select an XQuery resource that provides a result similar to: `<ctx:route isProxy="false">` `<ctx:service>project/folder/businessservicename</ctx:service>` `<ctx:operation>foo</ctx:operation>` `</ctx:route>`
Note: | The element `operation` is optional.

Use the Comment page to add a comment, if desired:

Use the Namespaces page to see a list of defined namespaces or to create a new one.

Use the Variables page to see a list of defined context variables or to create a new one. For more information about context variables, see Message Context in the AquaLogic Service Bus User Guide.