Creating Primeur Spazio Source Activity
A Source activity enables you to specify the location from where you can fetch the data. The Spazio Source activity allows you to fetch data from a Primeur Spazio MFT/s queue. This activity can either be triggered by an event or explicitly run.
To create Spazio Source activity:
- Go to Develop > Solutions > Primeur Spazio MFT/s > Spazio Source.
- Click Create New.
- On the New Spazio Source window, provide a unique Spazio source name and description.
- Select the execution type - Run Explicitly or Triggered by Event.
Run Explicitly: Select this option to execute the process flow manually by clicking the execute icon  on the Process Flow screen.
Triggered by Event: Select this option to trigger the process flow through Spazio Listener. In this case, you need to create a Spazio Listener and bind this event with the source activity in the process flow. Based on the option chosen in the previous step, the list of fields differ. Â
For Run ExplicitlyField NameDescriptionSpazio Connection Select the Spazio MFT Server Connection from the drop-down list under which you want to create MFT File Source. Queue Name of the default Queue where files are queued. User Class Name Name of the Primeur Spazio MFT/s user class. Sender Name Name of the Primeur Spazio MFT/s sender. The sender in this context is a logical MFT level sender identifier (not the actual userid/subject in AuthN/AuthZ terms) and can be used for filtering. Correlation Id Name of the Primeur Spazio MFT/s correlation identifier. Correlation identifier is a logical tag that can be associated with Primeur Spazio MFT/s files having some business level affinity (for example, "PAYROLL.FILES") and can be used for filtering.
Include Consulted Set the value to true to read the file multiple times. User Id Primeur Spazio MFT/s connection user id. Password Primeur Spazio MFT/s connection password. Disposition Whether to keep the file or remove it after successful execution.
Keep: Retain the file on the input queue after successful execution.
Remove: Remove the processed file from the input queue.
External File Attributes Optional extended metadata elements that can be attached to a file (very similar in nature and purpose with JMS message selectors). The value for this attribute can also be set explicitly in the process flow context.
For Triggered by EventField NameDescriptionDisposition Whether to keep the file or remove it after successful execution.
Keep: Retain the file on the input queue after successful execution.
Remove: Remove the processed file from the input queue.
External File Attributes Optional extended metadata elements that can be attached to a file (very similar in nature and purpose with JMS message selectors). The value for this attribute can also be set explicitly in the process flow context. - Expand Advanced Properties. For information about the fields, refer to Changing Advanced Properties.
- Click Save.
Triggered by Listener
You can execute a process flow automatically based on Spazio Listener. For example, when you receive a file in Primeur SPAZIO MFT/s, the process flow can be executed. For this, you need to bind a Spazio Listener with the process flow. You can either bind an existing Spazio Listener or create a new one and then bind it with a process flow. For information on how to execute a Process Flow, refer to Executing a Process Flow.
Creating Spazio Listener
Spazio Listener enables you to specify when and how frequently a process flow should be executed based on the creation of a new file, for example, queueName="FILE.QMGR01" queueName="FILE.QUEUE02", in a pre-defined location.
To create Spazio listener:
- Go to Develop > Solutions > Primeur Spazio MFT/s > Spazio Listener.
- Click Create New to create a new listener.
On the New Spazio Listener window, provide the following details.
Name Name of the Spazio MFT/s listener. Description Description of the Spazio MFT/s listener. Spazio Connection Select the Spazio MFT Server Connection from the drop-down list under which you want to create MFT File Event. Queue Name of the default Queue where files are queued. User Class Name Name of the Primeur Spazio MFT/s user class. Sender Name Name of Primeur Spazio MFT/s sender. The sender in this context is a logical MFT level sender identifier (not the actual userid/subject in AuthN/AuthZ terms) and can be used for filtering. Correlation Id Name of Primeur Spazio MFT/s correlation identifier. Correlation identifier is a logical tag that can be associated with Primeur Spazio MFT/s files having some business level affinity (for example, "PAYROLL.FILES") and can be used for filtering.
User Id Primeur Spazio MFT/s connection user id. Password Primeur Spazio MFT/s connection password. Field NameDescriptionExpand Advanced Properties. For information about the fields, refer to Changing Advanced Properties.
- Click Save.
Â