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.
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: 20756 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
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