CentraSite Documentation : CentraSite Administrator’s Guide : Registry Federations in CentraSite : Mapping UDDI Object IDs and tModels : Key Generator Processor : Adding a Key Generator Processor for Federation
Adding a Key Generator Processor for Federation
To add a key generator processor for federation, you have to modify the emit.xml file as follows:
To add a key generator processor for federation
1. Configure the details of the target registry in the configuration file for which you want to add the key generator 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 and add an entry for the federation route in emit.xml.
2. Now open the emit.xml file. It will have the targets configured for federation. Locate the <pipeline> element that contains 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="KeyGeneratorProcessor_<federationId>" />
<to uri="uddi://_<federationId>" ... />
</pipeline>
4. 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="KeyGeneratorProcessor_<federationId>"
class="com.softwareag.centrasite.federation.
uddi.component.UddiKeyGeneratorProcessor" >
<property name="domainKey" value="<domainKey>" />
<property name="federationId" value="<federationId>" />
</bean>
5. 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 <domainKey> for providing the domain name for the key generator and <federationId> to identify the federation route.
6. Now execute add Federation with the same identifier and the same target details as before. The newly added processor has to be configured for federation and this will accomplish it.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback