-
Design help plzzzz
Friends,
I have a design issue. Can you please help me in this regard.
I have a request like this:
<?xml version="1.0" encoding="UTF-8"?>
<msg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Request.xsd">
<header>
<SchemaVersion>Text</SchemaVersion>
<Action>Purchase</Action>
<OrigSystemID>aaaaaaaaaaaaaa</OrigSystemID>
<TransactionPrioirty>Text</TransactionPrioirty>
<EchoBack>Text</EchoBack>
<TransactionID>Text</TransactionID>
</header>
<body>
<Request>
<PurchaserID>Text</PurchaserID>
<MACAddress>Text</MACAddress>
<EventID>Text</EventID>
<Title>Text</Title>
</Request>
</body>
</msg>
Once this request comes, i need to do a service orchestration which does the following
1.Retrieve AccID
2.Add a work Order
3.Retrieve the MAC address
4. Aggregate and respond.
For acheiveing this sort of workflow in Spring, should I use a OSWorkflow Engine?
Any help is appreciated.
Thanks.
-
You don't necesarily have to use a workflow engine - you can just as well code. There are quite a lot of materials out there but in short, the workflow add value because they are configurable from the user point of view.
If you just have to solve the workflow above you can consider it an algorithm and solve it without any workflow.
OsWorkflow is nice engine in my opinion, very lightweight and simple but this might not be what you want - search google for comparisons (there are quite a few).