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 » need help in parsing a message tree and retreiving the value

Post new topic  Reply to topic
 need help in parsing a message tree and retreiving the value « View previous topic :: View next topic » 
Author Message
remocx
PostPosted: Fri May 17, 2013 1:54 am    Post subject: need help in parsing a message tree and retreiving the value Reply with quote

Novice

Joined: 21 Dec 2012
Posts: 13

Hi, need help in parsing a message tree and fetching a value. How do I parse and fetch the value of a subelement if the name field of the subelement is empty by using Java compute node?
Back to top
View user's profile Send private message
praj1740
PostPosted: Fri May 17, 2013 2:14 am    Post subject: Reply with quote

Apprentice

Joined: 05 Feb 2013
Posts: 29
Location: INDIA

Please refer the infocenter topic Mbelement and the esql to java data type conversion table topic in infocenter
Back to top
View user's profile Send private message
dogorsy
PostPosted: Fri May 17, 2013 2:36 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

The first question is: Why are you trying to do it with Java ? why not use ESQL ?
Back to top
View user's profile Send private message
remocx
PostPosted: Fri May 17, 2013 3:18 am    Post subject: Reply with quote

Novice

Joined: 21 Dec 2012
Posts: 13

requirement of project is such that I use JCN.
Have done it. It is working. Now, I need to fetch the environment details. If the bar is deployed in TEST OR integration environments, the processing must be cut short and if the environment is production, then I need to continue processing. How do i fetch the environment details?
Back to top
View user's profile Send private message
dogorsy
PostPosted: Fri May 17, 2013 3:24 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

you can define a UDP in your message flow and then access it from the node. See User Defined Properties.
Back to top
View user's profile Send private message
remocx
PostPosted: Fri May 17, 2013 3:38 am    Post subject: Reply with quote

Novice

Joined: 21 Dec 2012
Posts: 13

Its Done. Thanks!
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 » need help in parsing a message tree and retreiving the value
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.