Author |
Message
|
mqlover |
Posted: Mon Jan 28, 2013 6:10 pm Post subject: Maintaining a unique number throught the MF project |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Hi,
I have a message flow project and have 4 flows defined in it. There are 3 systems involved A,B,C.
My Flows are :
Flow 1 : A to B
Flow 2 : B to C
Flow 3 : C to B
Flow 4 : B to A.
Here either system A or system C can initiate the transaction.
I am using the unique ID as the current_timestamp in the format '000yyyyMMddHHmms'.
If system A initiates the transaction then this unique id is generated and should be alive throughout my Message flow project.
If system C initiates the transaction then this unique id need to be generated and should be alive through out the message flow project.
How could I achieve this?
Please let me know if I am not very clear in presenting my scenario.
Thanks in advance |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jan 29, 2013 5:49 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
McueMart |
Posted: Tue Jan 29, 2013 6:04 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
What transport protocols are you using? MQ, HTTP?
Quote: |
If system C initiates the transaction then this unique id need to be generated and should be alive through out the message flow project.
How could I achieve this? |
Why not generate your unique id at the start of Flow 3? And then pass it in either the message body or in a header on to Flow 4.
This seems like too basic a question - I think I must be missing something. |
|
Back to top |
|
 |
kash3338 |
Posted: Tue Jan 29, 2013 10:08 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Looks like a double post of this. What info did you want in your other post and what was not given? You still seem to be looking for something which you are not clear about. |
|
Back to top |
|
 |
mqlover |
Posted: Tue Jan 29, 2013 6:12 pm Post subject: Maintaining a unique number throught the MF project |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Hi,
Sorry for double posting.
Thanks all for suggesting me. There was a confusion here in gathering the requirements in teh client. Now its finalized with correlId and I am doing as its mentioned in the previous post.
Thanks all for your valuable time for answering me.
Thanks |
|
Back to top |
|
 |
|