Creating AMPS Input Data Source
The AMPS connector allows connection to AMPS message bus on a real-time streaming basis. The connector allows Panopticon Streams to subscribe to the Native FIX and XML message support. The data format itself is arbitrary, and in turn the connection includes the message definition.
- In the New Data Source page, select Input > AMPS in the Connector drop-down list.
- Enter the following properties:
Property Description Host
AMPS host address.
Port
AMPS host port. Default is 9004.
User Id
The user Id that will be used to connect to the AMPS service.
Password
The password to connect to the AMPS service.
Topic
The topic or queue physical name.
Filter
The filter expression.
- Select the Protocol. This will specify the format of the headers:
- Amps (default)
- Fix
- NvFix
- XML
- Select the Message Type.
- Select from any of the following Subscription Modes:
- Sow
- SowAndSubscribe
- SowAndDeltaSubscribe (default)
- Subscribe
- DeltaSubcribe
- Enter the Order By Statement in order to limit the returned data. For example:
/orderDate DESC
/custumerName ASC
- Enter any of the following Option/s for the selected Subscription Mode: cancel, live, no_empties, null, no_sowkey, oof, pause, replace, send_keys, or timestamp
NOTE: Leave the Options box blank if you selected the Subscribe subscription mode.
- Enter the Batch Size. This is the number of messages that will be sent at a time as results are returned. Default is 100.
- Enter the Timeout for the length of time to wait for the Server response. Default is 5000.
- Select either the period (.) or comma (,) as the Decimal Separator.
NOTE: Prepend 'default:' for the elements falling under default namespace.
- Click
to the fetch the schema based on the connection details. This populates the list
of columns with the data type found from inspecting the first ‘n’ rows of the input data source. - You can also opt to click
. This adds columns to the AMPS connection that will represent sections of the message.Then enter or select:
Property Description Name
The column name of the source schema.
Fix Tag/XPath/Json Path
The Fix Tag/XPath/Json Path of the source schema.
Type
The data type of the column. Can be a Text, Numeric, or Time.
Date Format
The format when the data type is Time.
Filter
Defined parameters that can be used as filter.
Enabled
Determines whether the message field should be processed.
To delete a column, check its
or all the column entries, check the topmost
, then click
.
- Define the Real-time Settings.
- Click
. The new data source is added in the Data Sources list.
(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.