Skip to content

Simple ECP endpoint client for Sesam.io powered applications

Notifications You must be signed in to change notification settings

timurgen/ecp-endpoint-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecp-endpoint-client

Simple ECP endpoint client for Sesam.io powered applications

Env vars:

  • DEBUG - debug mode or not - default false
  • PORT - listening on port - default 5000
  • WSDL - wsdl file location
  • ECP_ENDPOINT - ECP endpoint URL, not required if WSDL property points to ECP node
  • CONFIRM_RECEIVE - will wait for "RECEIVED" or "FAILED" status for each entity before writing back to Sesam if true - default false
  • RECEIVE_TIMEOUT - confirm receive timeout in seconds - default 5 sec

Entity shape for send endpoint

    [{
        "_id": "<sesam id>",
        "receiverCode": "<destination endpoint>",
        "businessType": "<message type>",
        "content": "<string  content>",
        "senderApplication": "<sender application name>",
        "baMessageID": "<baMessageID>"
    }]

Entity shape for check endpoint

    [{
        "_id": "<sesam id>",
        "ecp_message_id": "<previously assigned ECP id>",
    }]

About

Simple ECP endpoint client for Sesam.io powered applications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages