|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
bad practise or not? |
« View previous topic :: View next topic » |
Author |
Message
|
atommail |
Posted: Wed Nov 18, 2009 4:58 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Nov 18, 2009 7:09 am Post subject: |
|
|
 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 |
|
 |
|
|
|
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
|
|
|
|