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 Index » WebSphere Message Broker (ACE) Support » Retrieving promoted property value in java

Post new topic  Reply to topic
 Retrieving promoted property value in java « View previous topic :: View next topic » 
Author Message
Ashimashi
PostPosted: Tue Nov 08, 2011 3:17 am    Post subject: Retrieving promoted property value in java Reply with quote

Novice

Joined: 06 Oct 2011
Posts: 20

Hello,

I was wondering if it's possible to retrieve a promoted property value in java. For instance, in an ESQL you can easily retrieve it by declaring an external variable like so:

DECLARE TEST1 EXTERNAL BOOLEAN FALSE;
DECLARE TEST2 EXTERNAL CHARACTER ' ';

Where TEST1 and TEST2 are promoted properties in the main flow. Then you can just play around with it as you like in the code.

Thanks,
A
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 08, 2011 6:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Do you mean "User Defined Properties"?

A Promoted Property is just a property that has been exposed to a higher level of the flow, it tells you nothing at all about the nature of the property itself.

Review the documentation on the ESQL keyword EXTERNAL, and determine what kind of property you are thinking about.

Then review the documentation on the Java APIs to see how that matches or doesn't.
Back to top
View user's profile Send private message
Ashimashi
PostPosted: Tue Nov 08, 2011 6:38 am    Post subject: Reply with quote

Novice

Joined: 06 Oct 2011
Posts: 20

Thank you mqjeff for pointing that out. I was of course refering to UDP. It wasn't that difficult to look it up once I knew the term I've solved it.

Thanks again.

Sincerely,
A
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retrieving promoted property value in java
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.