AS4Service

Prev Next

The AS4Service integrates AS4 messaging into the Integration Server. It is built on the Holodeck B2B engine.

Service availability and license

IMPORTANT: The AS4Service requires a license and is disabled by default. Contact Lobster support or sales to have it licensed and activated.

The bundled Holodeck B2B engine is version 5.0.3. Holodeck 7.0.x can be installed manually but is not shipped or supported out of the box.

XML configuration

The AS4Service is configured in ./etc/as4.xml. setAs4Manager selects the AS4 implementation to use. Currently, HolodeckProcessManager is the only available implementation and is the default. Its settings:

<Configure class="com.ebd.hub.services.as4.AS4Service">
    <Call name="setAs4Manager"><Arg>
        <New class="com.ebd.hub.services.as4.HolodeckProcessManager">
            <Set name="hdBaseDir">./etc/as4</Set>
            <Set name="javaHome">/path/to/java/</Set>
            <Set name="procConfWaitTime">120000</Set>
            <Set name="keepPModeFiles">false</Set>
            <Set name="inboundReceiveAll">false</Set>
        </New>
    </Arg></Call>
</Configure>

The following optional settings are available on HolodeckProcessManager:

Setting

Value

Default

Description

hdBaseDir

path

./etc/as4

Base directory where the Holodeck files are located — the engine configuration (conf/), generated P-Modes (repository/pmodes/), and working data (data/).

javaHome

path

application's Java home

Java home to be used. If none is specified, the application's Java home is used.

procConfWaitTime

integer (ms)

120000

Maximum time in milliseconds to wait for the confirmation of a send request.

keepPModeFiles

boolean

false

Keeps the generated P-Mode files across restarts so that manual adjustments under etc/as4/repository/pmodes persist. When unset, the P-Mode files are regenerated from the channel settings on every restart and channel change. Introduced with 26.3.2.

inboundReceiveAll

boolean

false

Generates inbound P-Modes without the Service/Action restriction, so any Service/Action is accepted. When unset, generated inbound P-Modes carry the Service/Action restriction. Introduced with 26.3.2.