Notes on Service Broker Control Annotations

This section provides information on the Service Broker control specific behavior of the following annotations:

@common:message-buffer

The @common:message-buffer annotation specifies that there should be a queue between the component's implementation code and the message transport wire for the specified method or callback. For more information, see "@common:message-buffer Annotation" in Common Annotations.

When you generate a Service Broker control request method, do not edit any of the attributes of the @common:message-buffer annotation. The @common:message-buffer annotation is visible in the message-buffer section of the Property Editor.

@jc:conversation

The @jc:conversation annotation specifies the role that a control's methods or callbacks play in a conversation. For more information, see "@jc:conversation annotation" in Java Control Annotations.

When you generate a Service Broker control, do not edit the phase attribute of the @jc:conversation annotation. The @jc:conversation annotation is visible in the conversation section of the Property Editor.

@jc:parameter xml

The @jc:parameter-xml annotation specifies characteristics for marshaling data between XML messages and the data provided to the parameters of a Web service operation. For more information, see "@jc:parameter-xml Annotation" in Java Control Annotations.

It is recommended that you do not use this annotation when designing a Service Broker control.

@jc:protocol

The @jc:protocol annotation specifies which protocols and message formats can be accepted by the Web service represented by a Web Service control, and by the operations on that Web service. For more information, see "@jc:protocol Annotation" in Java Control Annotations. For more information on the message formats supported, see Supported Message Formats.

If you use the Service Broker control to call properties, do not use the http-xml attribute of @jc:protocol. This attribute is not supported for use with the Service Broker control. This attribute is visible in the protocol section of the Property Editor.

Previous Document Next Document