pfx-api:uploadProductImage

 

Properties

Option

Type

Default

Description

Option

Type

Default

Description

outputTarget

string

 

Defines output target for data in the exchange. It can be stored in the header, property or body.

outputTargetName

string

 

Defines output target name for the target type header and property. Put here the name of exchange header and name of exchange property.

connection

string

 

Defines connection to Pricefx. This is an optional parameter and if it is not mentioned, the connection is taken from the Spring bean named pricefx.

sku

string

 

Define for which SKU the method should be executed.

asyncTimeout

integer

 30000

Defines timeout for async evaluation (in milliseconds).

asyncRetry

integer

 10000

Defines retry period for async evaluation (in milliseconds). The job status will be checked at every defined timespan.

The method takes data from the exchange body.

Examples

<route> <from uri="sftp://michal@localhost:${sftpServer.getPort()}/mydir?password=michal&amp;binary=true&amp;move=.done&amp;moveFailed=.error&amp;doneFileName=product-image.done&amp;useUserKnownHostsFile=false&amp;readLock=changed"/> <to uri="pfx-api:uploadProductImage?sku=100"/> <to uri="mock:response"/> </route>

IntegrationManager version 5.8.0