/
Concurrent File Writer device

Concurrent File Writer device

The Concurrent File Writer device works much the same as the File Writer device. The main difference is that the Concurrent File Writer device will write multiple files/messages at the same time. Because of this, many of the setup options are the same as for the File Writer device.

The Concurrent File Writer device has one extra set of options, the Concurrency Options.

This is where you specify the variable that contains the information that will determine how the message is routed. This variable must be included in the message being processed by Connexion.

You set the variable using a Custom Code device. This device must be in the channel.

To set the custom variable:

  1. Insert a Custom Code device into the channel upstream from the Concurrent File Writer device.
  2. In the Custom Code device, define your variable.
  3. Save the device.

Custom variables do not span queues.

This article does not describe the mechanics of writing C# or VB code. Suffice to say, the custom variable definition should look something like this (this is C# code):

Connexion will write messages to files based on the contents of this variable. A new file will be created for each unique value.


Related content

File Writer device
File Writer device
More like this
File Reader device
File Reader device
More like this
Custom Device Considerations
Custom Device Considerations
More like this
Branch device (HL7)
Branch device (HL7)
More like this
Sample Device with Retry (Sending)
Sample Device with Retry (Sending)
More like this
Error 6037
Error 6037
More like this