Author |
Message
|
paris |
Posted: Fri Nov 02, 2007 11:05 am Post subject: How to read multiple messages in ESQL |
|
|
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 |
|
 |
bower5932 |
Posted: Fri Nov 02, 2007 11:50 am Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Fri Nov 02, 2007 12:05 pm Post subject: |
|
|
 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 |
|
 |
vsr |
Posted: Fri Nov 02, 2007 12:05 pm Post subject: Re: How to read multiple messages in ESQL |
|
|
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 |
|
 |
jefflowrey |
Posted: Sat Nov 03, 2007 3:35 am Post subject: |
|
|
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 |
|
 |
paris |
Posted: Sat Nov 03, 2007 5:47 pm Post subject: |
|
|
Newbie
Joined: 02 Nov 2007 Posts: 2
|
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Nov 04, 2007 4:27 am Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Mon Nov 05, 2007 8:34 am Post subject: |
|
|
 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 |
|
 |
|