问题
We are going to build WCF services based on SOA. During a meeting recently, client explained the new system environment. He used the word “outbound transaction”. Due to time limitations, I could not get it clarified. Then I made some search in internet. However it leads me to different topics.
So, my question is - what is “Outbound Transaction” in the context of “service orientation”? Can you give an example?
READING:
What is SOA "in plain english"?
What is a "web service" in plain English?
WCF, DataPower integration - secure binding necessary?
回答1:
For the sake of your project, make sure you do as @Marc suggests and follow up with the client.
But, in general terms, for asynchronous or batch type communication
- Inbound message - the flow of the message comes into YOUR system
- Outbound message - the flow of the message flows out of YOUR system.
(obviously the direction of inbound / outbound depends on the point of view of the system or esb / eai hub - system architects on the other side of the interface will see things the other way around)
The word transaction might mean many things:
- ACID Transactions (Single phase, e.g. SQL BEGIN TRAN, or Two Phase e.g. XA/DTC)
- Compensated / Long running transactions (usually in context of a ESB or EAI or BPEL engine)
- The data flowing between systems contains Financial transactions (i.e. business domain context, nothing to do with XA / DTC / SQL transactions at all)
回答2:
Say suppose you are providing a service to a consumer say A and in some part of your service you are depending on some other service provider which is providing a service B to complete your service and give the final output to the consumer. so in this case the point of contact from service A to service B (external system) is know as outbound transaction.
来源:https://stackoverflow.com/questions/9631349/what-is-outbound-transaction-in-layman-terms