ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Maintaining a unique number throught the MF project

Post new topic  Reply to topic
 Maintaining a unique number throught the MF project « View previous topic :: View next topic » 
Author Message
mqlover
PostPosted: Mon Jan 28, 2013 6:10 pm    Post subject: Maintaining a unique number throught the MF project Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jan 29, 2013 5:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Why would you not use CorrelId? That's what its there for.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
McueMart
PostPosted: Tue Jan 29, 2013 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
kash3338
PostPosted: Tue Jan 29, 2013 10:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqlover
PostPosted: Tue Jan 29, 2013 6:12 pm    Post subject: Maintaining a unique number throught the MF project Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Maintaining a unique number throught the MF project
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.