cancel
Showing results for 
Search instead for 
Did you mean: 

What is stateful and stateless message processing

Former Member
0 Kudos

What is stateful and stateless message processing ?

When it is used ?

Accepted Solutions (1)

Accepted Solutions (1)

former_member187437
Contributor
0 Kudos

Just to add on,

Stateless Processing - When a message reaches XI, its processed in Pipeline . After that , the message is sent to Target System. Once the message is sent to target system, we cant manipulate that message again.

Stateful processing - Even after the message is sent to Target System, its persistent. We can still access it in the BPM .

Former Member
0 Kudos

Hi Venkat,

To give the birds eye view of stateless and stateful message processing,

Stateful message processing is referred to scenarios where we are using integration process i.e., the message is persisted for sometime for further processing.

Stateless message processing are referred to scenarios where there is no usage of BPM or integration process.

Regards,

Lokesh

Reward Points if found useful

giribabu_2907
Discoverer
0 Kudos

Hi aarthi.vijayaraghavan ,

Completely understand . And may i know what is the use of Stateless(XI30 Compatible) And TU and C/C.

thanks ,

Giribabu M.

Answers (4)

Answers (4)

Former Member
0 Kudos

TX

Former Member
0 Kudos

Hi

Before going to Statefull or Stateless...u have to know about java and EBJ and what is session as well.

Basically we are using 2 S in EBJ.It is nothing but persistance of data.

Statefull: It means data are persists in multiple sessions.

Stateless: It means data are persists in single session.

in simple terms

if you use BPM in your integration scenario then it is stateful.

without BPM can be considered as stateless.

Business Process Management provides SAP Exchange Infrastructure with functions for stateful message processing: The status of an integration process is persisted on the Integration Server. This means that you can specify how long an integration process must wait for further messages to arrive, for example. Furthermore, this enables you to process messages within an integration process further still; for example, you can collect certain messages and then send them in a particular order.

This basically means SAP XI as a EAI tool without the BPM provides stateless message. this means that one message coming in SAP is not dependtent on another message.

BPM in SAP XI is used to make messages stateful and this allows us to do functionalities like collecting message , splitting message, waiting for a message etc.

Refer

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c656a9d-0901-0010-bcaf-fed14210...

http://help.sap.com/saphelp_nw04s/helpdata/en/93/33b504f33cb9468bf35f8fbda11294/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c656a9d-0901-0010-bcaf-fed14210...

thanks

Swarup

GabrielSagaya
Active Contributor
0 Kudos

Before going to Statefull or Stateless...

You have to know 2 types of Session Bean in EJB.

Session--> It is nothing but persistance of data.

Statefull: It means data are persists in multiple sessions.

Stateless: It means data are persists in single session

If you want Stateful message mapping then you prefer CCBPM.

nisarkhan_n
Active Contributor
0 Kudos

Stataefull is when you use an BPM:

"Design of executable integration processes. Cross-component integration processes support a stateful message processing on the Integration Server."

Staeless is when we use without BPM...in simple words.....

we use the statefull when we need to do an orchestration of the messages as per the busniess requiremtn.

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm