Author |
Message
|
remocx |
Posted: Fri May 17, 2013 1:54 am Post subject: need help in parsing a message tree and retreiving the value |
|
|
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 |
|
 |
praj1740 |
Posted: Fri May 17, 2013 2:14 am Post subject: |
|
|
 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 |
|
 |
dogorsy |
Posted: Fri May 17, 2013 2:36 am Post subject: |
|
|
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 |
|
 |
remocx |
Posted: Fri May 17, 2013 3:18 am Post subject: |
|
|
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 |
|
 |
dogorsy |
Posted: Fri May 17, 2013 3:24 am Post subject: |
|
|
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 |
|
 |
remocx |
Posted: Fri May 17, 2013 3:38 am Post subject: |
|
|
Novice
Joined: 21 Dec 2012 Posts: 13
|
Its Done. Thanks!  |
|
Back to top |
|
 |
|