Outbound binding syntax

Outbound binding purpose, syntax, description, and example.

Purpose

You define an outbound binding that specifies the message format, the protocol, and the events to be delivered. You might want to create a binding that delivers no events, if your event types are still in progress for example.

Syntax

define outbound binding '<binding name>' 
	with 
		 description "<description>",
	using 
		message format <message format>, 
	protocol <protocol>,
 	delivering events: | delivering no events
		- <event>
			[setting <property name> to <property value>]               
		- <event>. 

Syntax diagram

Use the following syntax diagram to better understand the relationships between the different options and the different values of an option.

Outbound binding syntax diagram

Description

Table 1. Mandatory parameters for an outbound binding
Parameter Description
binding name The name of the binding.
message format The format of the message. The options are:
  • application/xml
  • text/xml
protocol The communications protocol that is used for sending events. The options are:
  • JMS
  • HTTP
event The name of an event that the binding sends.
Table 2. Optional parameters for an outbound binding
Parameter Description
description Description of the binding.
setting Addition of JMS message properties or HTTP headers of outbound messages for individual event types. The property is one of the following:
  • HTTP header
  • JMS message property
  • JMSCorrelationID header
The property value is either a string or the attribute name of this event type.

Example

An outbound HTTP binding:
define outbound binding 'insuranceClaims' 
	with 
		description "Outbound insurance claims binding",
	using 
		message format application/xml, 
	protocol HTTP, 
	delivering events: 
		- Claim details
			setting the jms correlation id to the request id of this response event.