PfxClient
Purpose
This module enables all other modules to connect to the Pricefx server.
Configuration
Configuration depends on complexity:
If you work with just one partition, use auto configuration.
If you work with more partitions, use Spring bean configuration.
Auto Configuration
Auto configuration of PfxClient can be used in simple cases where you need to connect just one partition. This configuration starts a bean of the type net.pricefx.integration.api.client.PriceFxClient
with name pricefx
in the Spring context.
Property | Default Value | Notes |
---|---|---|
|  | Add pricefx at the end, e.g. https://staging.pricefx.eu/pricefx |
| Â | Â |
| Â | Â |
| Â | Â |
| Â | Â |
| false | Turns the debug mode on - then you can see HTTPS contents. In production it is typically off. |
| 6000 | If the value is not specified, default value (6000 ms = 6s) is applied. |
| false | Relates the to GZIP response setting on the server. Rarely used. |
Spring Bean Configuration
If more partitions are connected, use Spring bean configuration.
Example:
<pfx:connection id="pricefx" uri="https://qa.pricefx.eu/pricefx" partition="mvich" username="test"
password="test" debug="false"/>
Â
Attribute | Default value | Mandatory? | Notes |
---|---|---|---|
| Â | Yes | Â |
| Â | Yes | Â |
| Â | Yes | Â |
| Â | Yes | Â |
| 6000 | No | If the value is not specified, default value (6000 ms = 6 s) is applied. |
| false | No | Â |
| Â | No | Â |
See also the connection element.
System Properties
Attribute | Default value | Notes |
---|---|---|
|
| Read timeout interval, in milliseconds. |
|
| Connect timeout interval, in milliseconds. |
|
| Socket timeout interval, in milliseconds. |
|
| Socket keep alive status. |
IntegrationManager version 5.8.0