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 » Problem Message set and Esql

Post new topic  Reply to topic
 Problem Message set and Esql « View previous topic :: View next topic » 
Author Message
hellobond070
PostPosted: Thu Feb 25, 2010 12:56 pm    Post subject: Problem Message set and Esql Reply with quote

Centurion

Joined: 18 Nov 2009
Posts: 118

I have a simple flow as below

MQInput -> Compute -> MQOutput

This flow separates a fixed legth message as separate messages considering ORDER as delimiter.

Input message : ORDERlksldfjORDERlsdfjsdORDERlhflksdf

Ouput shoudl be 3 messages

ORDERlksldfj
ORDERlsdfjsd
ORDERlhflksdf

My esql in compute node looks like this :

Quote:
For iRef InputRoot.MRM.ORDER[] Do
PROPAGATE DELETE NONE;
END FOR;


I expected every order to come out from output terminal as separate message but this is not happening.
But I get the input message thrice in the output queue instead of it getting separated as 3 different messages. I am able to see the message getting parsed properly as expected in the compute node in the visual debug mode. All 3 messages get separated but once propagated the whole messge get out thrice.

Do I need to create a messge set for ouput and map in the compute node and then propagate or is there any other way in the ESQL to handle it.

Please help. Thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 25, 2010 1:00 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Check out your propagate statement. Could the delete none be at fault?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mgk
PostPosted: Thu Feb 25, 2010 1:11 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

The PROPAGATE statement just propagates what is in the Output* trees at the time it is called. If you want to change the contents of the OutputRoot message before it is propagated, you need to assign the contents of your iRef to the OutputRoot tree before you call propagate...

Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
hellobond070
PostPosted: Thu Feb 25, 2010 10:47 pm    Post subject: Reply with quote

Centurion

Joined: 18 Nov 2009
Posts: 118

I used Set OuputRoot.BLOB.BLOB = InputRoot.MRM.Order[Count]

It's workign fine now.

Thanks everybody !!!
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 » Problem Message set and 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.