on 02-17-2023 11:47 AM
Dear All,
I'm beginner in CPI and was trying to understand from documentation about the difference between a header and property in a message. Please validate my understanding.
1. Header is like HTTP header where we can store small attributes and pass it align with message. It will be part of the message and hence the scope is global in the sense that any step can see the header along with the receiver. My doubt is if we have a multiple sub processes in an iFlow like local integration process then the header variables can be seen by all of them?
2. Property is like a container where it is internal to a process and it can't be sent to receiver. But what is the scope of property in an iflow?
Is it explained better anywhere?
Hi Abraham,
Headers and Properties can be used in any local integration process in an iflow.
Let me give you an example :
Suppose I have two integration flows ( IF1,IF2), where IF2 is connected to IF1 via process direct .
Now properties in IF1 cannot be accessed in IF2 because the scope of property is with the iflow (IF1), but where as headers created in the IF1 can be accessed in IF2 because it as global scope.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.