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 » How to read multiple messages in ESQL

Post new topic  Reply to topic
 How to read multiple messages in ESQL « View previous topic :: View next topic » 
Author Message
paris
PostPosted: Fri Nov 02, 2007 11:05 am    Post subject: How to read multiple messages in ESQL Reply with quote

Newbie

Joined: 02 Nov 2007
Posts: 2

Hi,
I have to process incoming messages in XML format from queue.

How to read multiple messages and process multiple records in one message in ESQL. How to configure the INPUT node.

Thanks a lot advance.

Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Nov 02, 2007 11:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

If you are asking how to get more than one message in a message flow, then look into the MQGET node.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
EddieA
PostPosted: Fri Nov 02, 2007 12:05 pm    Post subject: Reply with quote

Jedi

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

But, be aware that you can't use MQGet on the same Queue as the MQInput.

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
vsr
PostPosted: Fri Nov 02, 2007 12:05 pm    Post subject: Re: How to read multiple messages in ESQL Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

paris wrote:
How to read multiple messages and process multiple records in one message in ESQL. How to configure the INPUT node.

How do you know the 'n' number of messages you are supposed to read? You can look at message segmentation and grouping. Or you can store the messages in a database till you read the last message. Basically it depends on your requirement.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Nov 03, 2007 3:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In v6.1, you can use the Collector node to do this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
paris
PostPosted: Sat Nov 03, 2007 5:47 pm    Post subject: Reply with quote

Newbie

Joined: 02 Nov 2007
Posts: 2

i'm using v5
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Nov 04, 2007 4:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to store the messages yourself somewhere, like a database, and retrieve them when you know you've got the full set.

And upgrade to at least v6. v5 goes out of support in a year.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Nov 05, 2007 8:34 am    Post subject: Reply with quote

Jedi

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

And don't PM people asking for help.

This is a forum, not a help desk. Unless you want to pay me for my consulting time.

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 » How to read multiple messages in ESQL
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.