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:

  1. Go to Develop > Solutions > Primeur Spazio MFT/s > Spazio Source.
  2. Click Create New.



  3. On the New Spazio Source window, provide a unique Spazio source name and description.
  4. 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. 

  5. Based on the option chosen in the previous step, the list of fields differ.  
    For Run Explicitly



    Field Name
    Description
    Spazio ConnectionSelect the Spazio MFT Server Connection from the drop-down list under which you want to create MFT File Source.
    QueueName of the default Queue where files are queued.
    User Class NameName of the Primeur Spazio MFT/s user class.
    Sender NameName 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 ConsultedSet the value to true to read the file multiple times.
    User IdPrimeur Spazio MFT/s connection user id.
    PasswordPrimeur 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 AttributesOptional 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 Event

    Field Name
    Description
    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 AttributesOptional 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.
  6. Expand Advanced Properties. For information about the fields, refer to Changing Advanced Properties.
  7. 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:

  1. Go to Develop > Solutions > Primeur Spazio MFT/s > Spazio Listener.
  2. Click Create New to create a new listener.



  3. On the New Spazio Listener window, provide the following details.

    NameName of the Spazio MFT/s listener.
    DescriptionDescription of the Spazio MFT/s listener.
    Spazio ConnectionSelect the Spazio MFT Server Connection from the drop-down list under which you want to create MFT File Event.
    QueueName of the default Queue where files are queued.
    User Class NameName of the Primeur Spazio MFT/s user class.
    Sender NameName 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 IdPrimeur Spazio MFT/s connection user id.
    PasswordPrimeur Spazio MFT/s connection password.
    Field Name
    Description
  4. Expand Advanced Properties. For information about the fields, refer to Changing Advanced Properties.

  5. Click Save.

Â