|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  sample c plugin not working | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | seanrocket | 
		  
		    
			  
				 Posted: Thu May 08, 2003 9:51 am    Post subject: sample c plugin not working | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 08 May 2003 Posts: 8
  
  | 
		  
		    
			  
				hello,
 
 
    I am trying to deploy the sample plug in node (c code) BigSampPluginNode
 
from the C:\Program Files\IBM\WebSphere MQ Integrator 2.1\examples. i was
 
able to compile the dll(lil) and I placed the file in the
 
C:\Program Files\IBM\WebSphere MQ\bin. i have also placed the 5 gif files
 
and the configuration and properties files here namely ComIbmSampleSwitch
 
and ComIbmSampleSwitch.wdp in this directory.
 
 
    I have followed the Websphere MQ integrator programming guide in
 
installing a plugin node to the broker domain and I have created a node int
 
the control center using the SmartGuide.
 
 
1.    I do not know how the node in the Control Center associates itself to
 
the actual dll(lil file). Where is this association configured?
 
 
2. If this is not configured, how will the control center know about plugin
 
node that I created?
 
 
3.  Are there any other docs that give step by step instructions on how to
 
deploy the sample c plug in nodes?
 
 
4,. how can you test and debug to see if the plugin is deployed properly?
 
 
-Sean | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bolek | 
		  
		    
			  
				 Posted: Thu May 08, 2003 11:11 pm    Post subject: Re: sample c plugin not working | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 25 Jul 2002 Posts: 35 Location: Germany 
  | 
		  
		    
			  
				Hi Sean,
 
   
	| Sean wrote: | 
   
  
	hello,
 
[...] 
 
i have also placed the 5 gif files and the configuration and properties files here namely ComIbmSampleSwitch and ComIbmSampleSwitch.wdp in this directory.
 
 | 
   
 
 
You have to copy ComIbmSampleSwitch.wdp and ComIbmSampleSwitch files to the
 
"<mqsi_root>\Tool\repository\private\hostname\Queue_Manager_name\MessageProcessingNodeType" directory.
 
 
See WMQI Programming Guide "Appendix D"-"Integrating a plug-in node into the Control Center"-"Summary" for step-by-step instructions.
 
 
   
	| Quote: | 
   
  
	
 
1.    I do not know how the node in the Control Center associates itself to
 
the actual dll(lil file). Where is this association configured?
 
 
2. If this is not configured, how will the control center know about plugin
 
node that I created?
 
 | 
   
 
 
WMQI uses "Node Identifier" to identify a node. See online help for the "Create a Plug-in node dialog": "This is the name by which the node is known internally within the configuration repository, and is referenced by the broker."
 
 
You can find the name in ComIbmSampleSwitch file, attribute "xmi.uuid".
 
 
In a plug-in node implementation it is a node class name ( set in 
 
cniDefineNodeClass(&rc, factoryObject, (CciChar*)constSwitchNode, &vftable); ),
 
 
 
   
	| Quote: | 
   
  
	
 
3.  Are there any other docs that give step by step instructions on how to
 
deploy the sample c plug in nodes?
 
 | 
   
 
 
 
"WMQI Programming Guide", 
 
Control Center online help and
 
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246154.pdf | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |