...
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:
- Insert a Custom Code device into the channel upstream from the Concurrent File Writer device.
- In the Custom Code device, define your variable.
- 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):
Connexion will write messages to files based on the contents of this variable. A new file will be created for each unique value.