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 » bad practise or not?

Post new topic  Reply to topic Goto page Previous  1, 2
 bad practise or not? « View previous topic :: View next topic » 
Author Message
atommail
PostPosted: Wed Nov 18, 2009 4:58 am    Post subject: Reply with quote

Novice

Joined: 03 Nov 2009
Posts: 11
Location: Poland

AkankshA wrote:

So rather then building the orderid from current_timestamp, why not use the msgId of MQMD as thats reliable enough for uniqueness
i.e. set order id = MQMD.MsgId


I don't have MQMD in my response flow:
HTTPInput - ComputeNode (set MQMD.CorrelId = myOrderId. Here I don't have any MQMD i just get myOrderId)- MQGet(get by CorrelId)- Compute(Set replyToQueue which I get from MQGet together with CorrelId)-MQReply

request flow is:
MQInput (QUEUE_A) -Compute-HTTPRequest-Compute(Set CorrelId = my orderId)-MQOutput(Store state)

Another adapter system X
HTTPInput -Compute - MQOtput(QUEUE_A)-Compute-MQOutput(store httpRequestId)
MQInput(ReplyQueue)-Compute-HTTPReply

Adapter System Y has already existed and I have just added some things.
Adapter System X is new.

webservice which I am developing in adapter System x have to response with synchronic answer

I design my scenario, it is working, but it is bad scenario (using my orderId)
I have no idea to other scenario,



Please, tell me what could I change?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 18, 2009 7:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

atommail wrote:
I don't have MQMD in my response flow


You don't need it if you follow the previous suggestion.

atommail wrote:
I design my scenario, it is working, but it is bad scenario (using my orderId)
I have no idea to other scenario,


And yet 2 of us have given you a different, better scenario.

atommail wrote:
Please, tell me what could I change?


The id. Try reading some of the previous posts.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » bad practise or not?
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.