Author |
Message
|
NAIDU |
Posted: Sun Mar 19, 2017 10:41 am Post subject: Different ways of Accessing mbelements in java compute node |
|
|
Novice
Joined: 12 Jan 2016 Posts: 17
|
What is the Difference between getFirstElementByPath(./MQMD/Msgid) and getFirstElementByPath(../Msgid) in java compute node. Do both traverse to Msgid. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Mar 19, 2017 12:11 pm Post subject: Re: Different ways of Accessing mbelements in java compute n |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
NAIDU wrote: |
What is the Difference between getFirstElementByPath(./MQMD/Msgid) and getFirstElementByPath(../Msgid) in java compute node. Do both traverse to Msgid. |
Depends essentially where your MbElement is attached as the second one is a relative path  _________________ MQ & Broker admin |
|
Back to top |
|
 |
NAIDU |
Posted: Mon Mar 20, 2017 1:21 am Post subject: |
|
|
Novice
Joined: 12 Jan 2016 Posts: 17
|
Can we find any links regarding this topic in IBM sites. Accessing MBELEMENTS From message tree in java compute node. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 20, 2017 4:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
NAIDU wrote: |
Can we find any links regarding this topic in IBM sites. Accessing MBELEMENTS From message tree in java compute node. |
In the Javadocs. Located in the Knolwedge Center. Where it talks about user-defined nodes. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|