WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Sample Common Base Event template

Components that use the WebSphere Application Server event factory home can include a Common Base Event template XML file to provide data to populate Common Base Events. Template information is used by the content handler to fill in blanks in the Common Base Event when the Common Base Event complete method is called. Information that is already supplied in the event will not be overridden if the same field is supplied in the template.

The following is an example of a Common Base Event template:
<?xml version="1.0" encoding="UTF-8"?>

<TemplateEvent 
		version="1.0.1" 
		xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
		xsi:noNamespaceSchemaLocation="templateEvent.xsd">

	<CommonBaseEvent 
		<sourceComponentId application="My Application" component="com.ibm.componentX"/>
      <extendedDataElements name="Sample ExtendedDataElement name"	type="string">
			<values>Sample ExtendedDataElement value</values>
		</extendedDataElements>
   </CommonBaseEvent>

</TemplateEvent>
Reference topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rtrb_cbetemplate.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)