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 » Saving a value to attach it to a reply

Post new topic  Reply to topic
 Saving a value to attach it to a reply « View previous topic :: View next topic » 
Author Message
bdaoust
PostPosted: Fri Oct 18, 2013 6:50 am    Post subject: Saving a value to attach it to a reply Reply with quote

Centurion

Joined: 23 Sep 2010
Posts: 130

Good morning everyone.

Currently looking to modify a message flow where I need to add a new data element to the matching reply of the request. So, a request is sent and new value is saved somehow so that it can be attached to the reply of that request. I cannot send the new data element as part of the original request message because the receiving application doesn't want to make changes for the new element (they don't need it). This new data element will be used after the reply is received. So, I didn't what would be best to "store" this data element and reattach it to the message once the reply is received. My initial though it to store the value in a database and the use request msgid and correlation msg ID to do a lookup when the reply is received. Seems like more work the necessary?

Thanks
Brian
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 18, 2013 7:12 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If you're on v8 or v9 then the ExtremeScale Cache is the best place to store short-lived correlation data.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Oct 18, 2013 7:17 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Or a simple aggregation?

A lot easier if you system does not have Global Cache configured.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
bdaoust
PostPosted: Fri Oct 18, 2013 7:20 am    Post subject: Reply with quote

Centurion

Joined: 23 Sep 2010
Posts: 130

Sorry I should have mentioned WMB 7.0.0.5.

I was also reading up on Local and wondering if LocalEnvironment.Variables is something to look at as well.

Thanks,
Brian
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 18, 2013 7:37 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Not LocalEnvironment. That's only available for the lifetime of the node.
Environment might do the job - but only if you're sure that the reply message will always be processed by the same execution group as the request.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 » Saving a value to attach it to a reply
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.