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 IndexWebSphere Message Broker SupportDifferent ways of Accessing mbelements in java compute node

Post new topicReply to topic
Different ways of Accessing mbelements in java compute node View previous topic :: View next topic
Author Message
NAIDU
PostPosted: Sun Mar 19, 2017 10:41 am Post subject: Different ways of Accessing mbelements in java compute node Reply with quote

Novice

Joined: 12 Jan 2016
Posts: 15

What is the Difference between getFirstElementByPath(./MQMD/Msgid) and getFirstElementByPath(../Msgid) in java compute node. Do both traverse to Msgid.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Mar 19, 2017 12:11 pm Post subject: Re: Different ways of Accessing mbelements in java compute n Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19210
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
View user's profile Send private message Send e-mail
NAIDU
PostPosted: Mon Mar 20, 2017 1:21 am Post subject: Reply with quote

Novice

Joined: 12 Jan 2016
Posts: 15

Can we find any links regarding this topic in IBM sites. Accessing MBELEMENTS From message tree in java compute node.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 20, 2017 4:13 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17307

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.
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportDifferent ways of Accessing mbelements in java compute node
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.