|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Access Global Environemtn in JPlugin |
« View previous topic :: View next topic » |
Author |
Message
|
pmbsa |
Posted: Fri Sep 06, 2002 3:50 am Post subject: Access Global Environemtn in JPlugin |
|
|
Novice
Joined: 06 Aug 2001 Posts: 16
|
Hi,
We are busy developing a java plugin,
everthing seemed to be going according to plan until we tried
.getBuffer()
on the MbMessage that we recieved from .getGlobalEnvironment() , no matter what we do the broker throws an exception when we try that method, even when we are trying simple things like.length to establish if it ha any contents.
has anybody had experience with this, any advice would be appreciated
thanks |
|
Back to top |
|
 |
kirani |
Posted: Fri Sep 06, 2002 12:35 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Could you post your ExceptionList here?
Have you tried calling the same method on LocalEnvironmentTree?
If you want to check whether the tree is empty or not, you could make use of getRootElement() and getFirstChild() methods in MbMessage and MbElement class. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
pmbsa |
Posted: Sun Sep 08, 2002 10:31 pm Post subject: lcal is the same |
|
|
Novice
Joined: 06 Aug 2001 Posts: 16
|
Hi,
its definatly not empty, for 2 reasons, 1 being I have populated it before in a compute node and 2, we did firstchild straight away to make sure it was being passed in, I will get he exceptionlist to you asap
we did both local and global, with the same result
thanks
Paul |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|