IOT - ZeroMQ - send a message
Search form
Description - Send a ZeroMQ message
Runtime Class - com.ibi.agents.XDZeroMQEmitAgent
Configuration
This action requires a Generics Configuration as well as the following required parameters.
Parameter Groups
Parameter Type Description
Message Format: string Determines how the input document is interpreted to create the message. Single Part serializes the document into a single part message. Multipart creates a multipart message from an XML document adhering to the iwzeromq.xsd schema or from a JSON array. Dynamic creates a multipart message if the document is in the expected format, otherwise it create a single part message.
Select from one of the following options:
- Single Part {single}
- Multipart {multipart}
- Dynamic {dynamic}
Read Reply: boolean On bidirectional sockets, read a reply message after sending the message. This is more appropriate for the REQ socket.
* - denotes required
Parameter Type Description
Format: string Determines how the response message is stored in the document if the Return Document is the response. The last part can be stored flat as bytes, or parsed as XML or JSON. Alternatively, all parts can be stored in an XML or JSON container.
Select from one of the following options:
- All parts in XML container {xmlmultipart}
- All parts in JSON container {jsonmultipart}
- Last part as flat {flat}
- Last part as parsed XML {xml}
- Last part as parsed JSON {json}
* - denotes required
Parameter Type Description
Return Document: string Whether the output document will be the response, a status document or the input document.
Select from one of the following options:
- Response {response} - response will be the out document.
- Status {status} - status document will be the out document.
- Input {input} - input document will be the out document
* - denotes required
Output Events
Runtime Class - com.ibi.agents.XDZeroMQEmitAgent
Configuration
This action requires a Generics Configuration as well as the following required parameters.
Parameter Groups
Parameter Type Description
Message Format: string Determines how the input document is interpreted to create the message. Single Part serializes the document into a single part message. Multipart creates a multipart message from an XML document adhering to the iwzeromq.xsd schema or from a JSON array. Dynamic creates a multipart message if the document is in the expected format, otherwise it create a single part message.
Select from one of the following options:
- Single Part {single}
- Multipart {multipart}
- Dynamic {dynamic}
Read Reply: boolean On bidirectional sockets, read a reply message after sending the message. This is more appropriate for the REQ socket.
* - denotes required
Parameter Type Description
Format: string Determines how the response message is stored in the document if the Return Document is the response. The last part can be stored flat as bytes, or parsed as XML or JSON. Alternatively, all parts can be stored in an XML or JSON container.
Select from one of the following options:
- All parts in XML container {xmlmultipart}
- All parts in JSON container {jsonmultipart}
- Last part as flat {flat}
- Last part as parsed XML {xml}
- Last part as parsed JSON {json}
* - denotes required
Parameter Type Description
Return Document: string Whether the output document will be the response, a status document or the input document.
Select from one of the following options:
- Response {response} - response will be the out document.
- Status {status} - status document will be the out document.
- Input {input} - input document will be the out document
* - denotes required
Output Events
Configuration
This action requires a Generics Configuration as well as the following required parameters.Parameter Groups
Parameter | Type | Description | |
---|---|---|---|
Message Format: | string | Determines how the input document is interpreted to create the message. Single Part serializes the document into a single part message. Multipart creates a multipart message from an XML document adhering to the iwzeromq.xsd schema or from a JSON array. Dynamic creates a multipart message if the document is in the expected format, otherwise it create a single part message.
Select from one of the following options:
|
Read Reply: | boolean | On bidirectional sockets, read a reply message after sending the message. This is more appropriate for the REQ socket. |
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
Format: | string | Determines how the response message is stored in the document if the Return Document is the response. The last part can be stored flat as bytes, or parsed as XML or JSON. Alternatively, all parts can be stored in an XML or JSON container.
Select from one of the following options:
|
* - denotes required
Parameter | Type | Description | Return Document: | string | Whether the output document will be the response, a status document or the input document.
Select from one of the following options:
|
---|
* - denotes required
Output Events
Name | Description |
---|---|
onFailParse | Could not parse a document. |
onFailTimeout | The operation timed out. |
onFailOperation | Could not perform the operation requested. |