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 » Java Plug In, CSD2 and attributes

Post new topic  Reply to topic
 Java Plug In, CSD2 and attributes « View previous topic :: View next topic » 
Author Message
Deeko
PostPosted: Thu May 09, 2002 6:05 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

Hi,

I'm having real problems with my Java Plugin node after I installed CSD2.

I have attributes specified in the node (with "use defaults" ticked) and it's not allowing these to be seen by the Java setter/getters. I can override the values with fields in the incoming XML but can't get the defaults to get picked up. Thing is it all worked fine under CSD1. Can someone confirm the "Use Defaults" setting they're using under CSD2?

Thanks,

Derek.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Deeko
PostPosted: Thu May 09, 2002 6:59 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

Matters seem to have improved with "Use Defaults" unchecked....I haven't completely tested this though...

Regards,

Derek.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Deeko
PostPosted: Thu Jun 13, 2002 2:19 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

I'm still having problems with my plugin when it comes to attributes!

My node reads configurational info from incoming XML (if present) and uses these to override the attributes that are set on the actual node itself. This seems to work fine in all cases except for the first time a flow is used after a deployment. The node just will not pick up the attributes from the node on its initial attempt!

Anyone else had this? I'm going to raise a PMR very shortly....

Regards,

Derek.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Deeko
PostPosted: Thu Jun 13, 2002 2:20 am    Post subject: Reply with quote

Acolyte

Joined: 16 May 2001
Posts: 72
Location: Edinburgh, UK

Forgot to mention...all my setters/getters are created etc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dnaren
PostPosted: Fri Jun 14, 2002 1:34 pm    Post subject: Reply with quote

Apprentice

Joined: 10 Aug 2001
Posts: 45
Location: Charlotte, NC

The get/set methods for the attributes are not called in the constructor of the plug-in node class. They are called after the plug-in node is initialized/loaded. But the set methods are called before 'evaluate()' method of the node class is called for the first time.

If you set the values for the attributes while constructiong the flow, they will be available in the evaluate() method when the first message arrives.

The set methods are also called automatically when you make changes to the flow and redeploy. (this behaviour is configurable).
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java Plug In, CSD2 and attributes
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.