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 SupportUser defined properties in java compute node

Post new topicReply to topic
User defined properties in java compute node View previous topic :: View next topic
Author Message
MD
PostPosted: Fri Apr 13, 2018 12:54 am Post subject: Reply with quote

Novice

Joined: 19 Apr 2017
Posts: 15

Can we add new property group to create an UDP value instead creating it in Basic ?
If yes, how to call that UDP in JCN ?

I have created new property group named ABC and inside it I created UDP named DEF. I tried with String udpValue = getUserDefinedAttribute("ABC/DEF").toString(); but it throwing null pointer exception.

Please suggest.

Thanks,
MD
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Fri Apr 13, 2018 1:43 am Post subject: Reply with quote

Master

Joined: 17 Jul 2017
Posts: 209
Location: UK

Try the below and see,

Quote:
String udpValue = getUserDefinedAttribute("DEF").toString();
Back to top
View user's profile Send private message
MD
PostPosted: Fri Apr 13, 2018 1:56 am Post subject: Reply with quote

Novice

Joined: 19 Apr 2017
Posts: 15

Quote:
String udpValue = getUserDefinedAttribute("DEF").toString();

It didn't worked.
It worked when I created UDP named DEF in Basic.
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 SupportUser defined properties 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.