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 » User Defined Property within a User Define Node (in Java)

Post new topic  Reply to topic
 User Defined Property within a User Define Node (in Java) « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Mon Oct 21, 2013 7:49 am    Post subject: User Defined Property within a User Define Node (in Java) Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Hi all,

WMB 8.0.0.1

I'm developing a User Defined Node using Java. In the "Properties" of the .msgnode I have the property "Queue" within my property group "Configuration". I'm able to deploy a flow that uses the user defined node, but when attempt to add a value to that property the following error prompts:

Code:
BIP2210E: Invalid configuration message: attribute name 'Queue' not valid for target object 'SearchFilter.'.

The message broker received a configuration message containing the attribute name 'Queue' which is not valid for the target object 'SearchFilter.'.  This can be caused by a mismatch in levels between the Message Broker Toolkit and the broker, or as a result of a user or third party written user-defined node where the implementation library installed at the broker does not match the node definition held at the Message Broker Toolkit.

Ensure that the levels of code installed at the Message Broker Toolkit and broker are consistent.  If they are, identify the supplier of the target object and report the problem to them.  If this is IBM, contact your IBM support center.


Here I'm not very sure if I have to do a workaround in the Java implementation file. The Infocenter says that you should declare the attributes through the methods in this way:

Code:
private String attributeVariable;

public String get<AttName>()
{
  return attributeVariable;
}

public void set<AttName>(String value)
{
  attributeVariable = value;
}


I've tried this but didn't work (updated the library).

I appreciate any hint on this issue.

Kind regards
Back to top
View user's profile Send private message
nelson
PostPosted: Tue Oct 22, 2013 10:03 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

I solved the issue; the Infocenter gave the solution.

Quote:
The attributes are defined by supplying the get/set methods using the standard JavaBean property naming convention. The setXxx method is invoked by the message broker when a configuration request is received that attempts to set the value of the node attribute with matching name xxx.


Note the difference between x and X.

Regards.
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 » User Defined Property within a User Define Node (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.