Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.
Note

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):

Image Added

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