You can create a Jar file for User Exit and view the list of newly created User Exits
when Sterling B2B Integrator is installed
using the Docker image.
Before you begin
You must set up the Liberty Application Server.
For more information, see B2B
REST APIs
About this task
To create a new Jar file for User Exit:
Procedure
-
Select Customization > Customization. Click the
Click Here To Access link. In the Customization login
screen, enter the User Name and Password and click
Login.
-
Click User Exit. The User Exit list page is
displayed.
-
Click Create UserExit.
-
Specify the field settings:
Field Name
|
Description
|
Vendor Name
|
Required. Unique name of the vendor.
|
Vendor Version |
Required. Version number of the vendor.
|
Description
|
Optional. Description of the Jar file.
|
User exit type |
Required. Type of the User Exit. The types include - FTP SERVER , SFTP
SERVER , MAILBOX , USER LOGIN , USER
LOGOUT .
|
Subtype |
Required. Subtype of the User Exit. These subtypes are specific to every User Exit type.
Table 1. User Exit Types and Sub Types
Types |
Sub Types |
FTP SERVER |
OnCwdCommandBeforeExecute
OnFileReceiveBeforeCommit
OnGetFileAfterExecute
OnGetFileBeforeExecute
OnPutFileAfterExecute
OnPutFileBeforeExecute
OnUnknownSiteSubCommand
|
SFTP SERVER |
OnGetFileAfterExecute
OnPutFileAfterExecute
OnPutFileBeforeExecute
|
MAILBOX |
OnMailboxCreate
OnMailboxDeleteSet
OnMailboxUpdate
OnMessageAdd
OnMessageDelete
OnMessageExtract
OnMessageExtractBegin
|
USER LOGIN |
postAuthenticateFail
postAuthenticateSuccess
preAuthenticate
|
USER LOGOUT |
|
|
Node List |
Optional. List of available Sterling B2B Integrator nodes. |
General Properties |
Optional. General properties of the User Exit file specified as a key-value
pair. Click Select to Add or
Remove the properties. Only the following properties and the respective
values must be specified:
Table 2. User Exit Properties and Values
Properties |
Values |
Return.on.exception |
boolean - true or false |
Pool.size |
integer |
Maximum.queue.length |
integer |
Wait.time |
integer |
Execution.threshold.time |
integer |
|
Implementation class |
Required. Names of the User Exit Java classes that implement the specified User
Exit interface. Click Select to Add or
Remove the class name. |
File |
Required. Click Browse to select the JAR file. |
-
Click Save UserExit to save the new User Exit. The newly added User
Exits are displayed in the User Exit list page.