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 » Multiple messages

Post new topic  Reply to topic
 Multiple messages « View previous topic :: View next topic » 
Author Message
shalini123
PostPosted: Mon Dec 08, 2003 1:56 pm    Post subject: Multiple messages Reply with quote

Apprentice

Joined: 03 Dec 2003
Posts: 34

Hi,
We have the foll: requirment
1)Need to search something in db and retun results
2)Search goes thru WMQI.
1) Send search param, receive some results.
2) based on result returned, hit db agian and receive some result

3)Aggregate the two and retunr back

Can anyone suggest how this message flow should be configured
Back to top
View user's profile Send private message
aninair
PostPosted: Mon Dec 08, 2003 11:15 pm    Post subject: Reply with quote

Novice

Joined: 30 Oct 2002
Posts: 10

Hi

You can have input node-> computenode->filternode->computenode->outputnode kind of message flow.
1) Receive xml message containing paramaters u want to check in DB2
Set Input Node-> default to XML (easier way) or create message set which will understand ur xml message and give the details of it in default option.
2) In compute node write a query based on the parameters sent and update ur DB table , if required.
3) You can use filter or compute node to do next checkup and hit the DB2 again based on the results.


regards

Anita Nair
_________________
anita nair
Back to top
View user's profile Send private message
shalini123
PostPosted: Tue Dec 09, 2003 6:56 am    Post subject: Multiple message question- urgent Reply with quote

Apprentice

Joined: 03 Dec 2003
Posts: 34

Im not clear if what you mentioned wil work
scenario is

Input node recived an XML. Compute node transfoems and gives it to output node.
output node returns back some data . Based on one parameter of that data (Data 1), i need ot hit database agian and retrieve some more data.(Data 2). Now i need to combine data 1 and data2 and return back as reply.

How can this be achieved.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 09, 2003 7:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Look at the documentation for the Aggregate nodes in the Help available from the Control Center.

Look also at the Aggregation scenario in the redbook "Developing Solutions with Websphere MQ Integrator".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Dec 09, 2003 8:35 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Or 2 flows. First one does the initial lookups, and sends message out.

Second one gets the reply back, does more lookups and then sends back reply to originator.

You may have to store things in a DB between the flows, if the second one needs to set a return message ID/correlation ID based off the original message.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Multiple messages
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.