Initiating Platform Transfers Using JMS
MFT can initiate Platform transfers using JMS.
Adding a JMS Server
Adding a Transfer Definition
Field | Description |
---|---|
Input Selector | Defines the selector that is used to filter JMS messages when reading data from a JMS queue . |
Output JMSType Property | Defines the JMSType output property that is set when writing data to a JMS queue.
This value must match the request type, which you defined in Platform-Request is used. . In this example |
Output Property | Defines the output property that is set when writing data to a JMS queue.
This parameter can be left blank. |
Max Message Size | Defines a maximum message size.
Valid values for this parameter are from 1K - 999K and 1M - 10M. The default value is 1M. When a message exceeds this size, it will be broken up into multiple messages. |
Write EOF Message |
Defines whether MFT will write an empty JMS message at End Of File. This message will indicate that the entire file has been written and will not contain any message data. Supported values are: Yes - Write an empty message indicating end of file. JMS header property "LastMessage" will be "true" for the empty message and "false" for messages that contain data. No - Do not write an empty message indicating end of file |
Click Add after you finish the configurations.
Configuring the TransferRequest.xml File
Define the required parameters in TransferRequestPlatformServer.xml file which is located in the <MFTCC_Install>/server/webapps/<context>/example/JMS directory.
Sending the TransferRequestPlatformServer.xml File to the JMS Queue
Go to the transfer client from which the TransferRequestPlatformServer.xml file will be sent.
The following example assumes a JMS queue named MFT.Transfer is defined as the queue name in the Transfer Request Properties section on the Configure JMS Service page which can be accessed by clicking . In this example, TIBCO MFT Platform Server for Windows is the transfer client; however, any client can be used.
FTMSCMD /S /F /DS:10.1.1.1 /PORT:46464 /RI=JMSuser /RW=pwd c:\mftxml\ TransferPlatformServerRequest.xml JMSPlatform/MFT.Transfer