Sterling B2B Integrator business processes for AS4 Microservice
You can use business processes in Sterling B2B Integrator for AS4 Microservice to send and receive messages with Sterling B2B Integrator.
You can use the sample business process as they are or use them as a basis for creating your own business processes. In addition, you can send customized events from any Sterling B2B Integrator business process to AS4 Microservice.
The business processes use the adapters that you configure for the integration module connection between AS4 Microservice and Sterling B2B Integrator.
AS4 Microservice integration module business processes
- MEIGAS4InboundSample
- This business process writes the document to the file share and sends a visibility event. There is no reply or response.
- MEIGAS4InboundWithResponseSample
- This business process writes the document to the file share and sends a visibility event. The business process uses the Business Document Sender adapter to send a reply or response.
- MEIGAS4InboundWithReplySample
- This business process writes the document to the file share, sends a visibility event, and uses the Business Document Receiver adapter to send a reply.
- MEIGAS4OutboundSample
- This business process sets the sender and receiver lookup data and sends a visibility event. The business process calls the Business Document Sender adapter with the payload sent to the business process.
- MEIGAS2InboundSample
- This business process writes the document to the file share and sends a visibility event. There is no reply or response.
- MEIGAS2OutboundSample
- This business process sets the sender and receiver lookup data and sends a visibility event. The business process calls the Business Document Sender adapter with the payload sent to the business process.
"Send to" and "Reply to" queues must be different
In a business process, do not set the Send to
queue to the Reply to
queue that messages specify
for sending responses to Sterling B2B Integrator. The Send to
queue is the queue that Sterling B2B Integrator writes
messages to. The Reply to
queue is the queue that
is specified in the message that Sterling B2B Integrator listens
on to receive replies from AS4 Microservice. For exchanges that have replies, you create the reply queue
on WebSphere MQ as part of configuring the Sterling B2B Integrator bridge
adapters. The AS4 outbound two-way push-pull exchange is an example
or an exchange that sends a reply, ../scenarios/as4/meg_scenario_as4_outbound_twoway_pushpull_bridge.html#as4_outbound_twoway_pushpull_bridge
Customized events in a business process
- Configure the Visibility Event Sender adapter to use the MEIG Messaging Config adapter
- Have the business process call the Visibility Event Sender adapter that you configured
- Define your event in the business process. You can define more than one event in a business process
<process name = "TestVisEventAdapter">
<!-- send vis event to MEG -->
<operation name="VisEventAdapterType">
<participant name="VisEventSenderAdapterTest"/>
<output message="VisEventAdapterTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="customText">customText</assign>
<assign to="eventAction">CUSTOM</assign>
<assign to="eventStatus">IN_PROGRESS</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</process>
Specifying SAML tokens to send to AS4 Microservice
You can pass SAML tokens from a business process that you edited with the Graphical Process Modeler to AS4 Microservice. The SAML token is sent through the Business Document Sender adapter and must be in a specific format. You must specify the SAML token in xml format within single quotation marks using the SendingPartnerSAML parameter.