CentraSite Documentation : CentraSite Administrator’s Guide : Registry Federations in CentraSite : Mapping UDDI Object IDs and tModels : Taxonomy Processor : Adding a Taxonomy Processor
Adding a Taxonomy Processor
To add a taxonomy processor, you have to edit the emit.xml file and add a few details. Follow the instructions as given below:
To add a taxonomy processor
1. Configure the details of the target registry in the configuration file for which you want to add the taxonomy processor, as described in Creating a Federation Configuration File. Execute the add Federation command and provide a unique identifier for this target. This will configure the target for federation.
2. Now open the emit.xml file from the above mentioned location. It will have the targets configured for federation. Locate the <pipeline> element with the attribute id="<unique_identifier>", the identifier that you provided in the previous step while executing the add Federation command.
3. Include a <process> element immediately after <pipeline id="..." ...> but before <to uri="..." /> as shown:
<pipeline id="<federationId>" . . . . >
<process ref=" TaxonomyProcessor_<federationId>" />
<to uri="uddi://_<federationId>" . . . . />
</pipeline>
4. In case you want to configure both the key generator and the taxonomy processor, you have to provide the key generator <process> element first and the taxonomy processor <process> element next as shown:
<pipeline id="<federationId>" ... >
<process ref=" KeyGeneratorProcessor_<federationId>" />
<process ref=" TaxonomyProcessor_<federationId>" />
<to uri="uddi://_<federationId>" ... />
</pipeline>
5. It is extremely important that you replace <federationId> with the unique identifier that you provided while executing the command. After you add the <process> element, you now have to add the following details after the <camelContext> element as shown:
<camelContext>
. . . .
</camelContext>
 
<bean id="TaxonomyProcessor_<federationId>"
class= "com.softwareag.centrasite.federation.uddi.component.
UddiTaxonomyProcessor">
<property name="csUri" value="<csUri>" />
<!-- Example: http://<host>:<port>/CentraSite/CentraSite -->
<property name="federationId" value="<federationId>" />
</bean>
6. The bean ID that you provide and the ref value in <process ref="..."> must be the same. The class= name must not be modified and must be the same as provided in this example. Add the two properties csUri for providing the Registry URL for the processor and federationId to identify the federation route.
7. Now execute add Federation with the same identifier and the same target details as before. This configures the newly added processor for federation.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback