The DataQueueWriter microservice writes messages to AS400 Queues.
Configuration and Testing
The Configuration Property Sheet (CPS) of DataQueueWriter is shown in the figure below with the Expert Properties view enabled.
Figure 1: Sample DataQueue Reader Configuration
The table below provides descriptions for properties in the CPS.
|Error handling configuration|
The remedial actions to be taken when a particular error occurs can be configured using this attribute.
Hostname or IP of AS/400 Server.
Password pertaining to the username.
Name of AS/400 Queue.
Size of the AS/400 Queue.
Auto Create Queue
Create queue automatically if it does not exist.
If set to yes, then the connection will be closed for each successful writing of a message.
Pre Processing XSL Configuration
Pre Processing XSL configuration can be used to transform request message before processing it. Click the small button against the property to configure the properties.
Post Processing XSL Configuration
Post Processing XSL configuration can be used to transform response message before sending it to the output port.
Process Message Based on Property
The property helps components to skip certain messages from processing.
The configuration can be validated using the Validate button. A sample result of the Validate operation is shown below.
Figure 2: Validating the configuration
Input Port: Message that should be sent to AS/400 Queue.
Output Port: Sends the status, if the message was written in the queue.
Configure the DataQueueWriter microservice as shown in Figure 1.
The figure below shows a sample event process in which DataQueueWriter writes messages sent by the Feeder microservice to the Queue.
Figure 3: Sample event process using the DataQueueReader microservice
Sending a sample text message from the Feeder microservice to DataQueueWriter.
The figure below shows a sample input from the Feeder microservice.
Figure 4: Sample input from the Feeder microservice
The figure below shows status messages sent by the DataQueueWriter microservice.
Figure 5: Status messages sent by DataQueueWriter