Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

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.

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.

 

  • No labels