on 02-13-2010 6:50 AM
Hi Folks,
I have read some udf which uses streamConfigurationConstants and DynamicConfiguration. What actually these terms refer to. what kind of relationship exists in between them.
Kindly help me in understanding the above terms
Thnaks,
Srinivas Reddy.
hi,
Dynamic configuration has two interfaces:
1. com.sap.aii.mapping.api.DynamicConfigurationKey
Class used to create a key object for an adapter-specific attribute. The key object comprises the adapter namespace and the attribute name.
2. com.sap.aii.mapping.api.DynamicConfiguration
Class used to read, change, or delete the value of an adapter-specific attribute. In a method, you use objects of type DynamicConfigurationKey to access the attributes.
check for Java Mapping of Adapter-Specific Message Attributes at http://help.sap.com/saphelp_nwpi71/helpdata/EN/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
Usage of Dynamic configuration:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot
StreamTransformationConstants:
This interface contains constants that can be used in a java mapping to access runtime parameters. Most of these parameters are attributes of the message header, e.g., sender party, sender service, etc.
check for StreamTransformationConstants at:
http://help.sap.com/javadocs/pi/SP3/xpi/index.html
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dynamic configuration is used when you need any runtime value. For example sender system name or message ID etc.
Its also used for dynamic file naming. Basically DYNAMIC operations.
Have look at this for example:
http://wiki.sdn.sap.com/wiki/display/Snippets/SAPXIDynamic+Configuration
StreamTransformation basically is an interface of package com.sap.aii.mapping.api. SetParameter and Execute are two methods in it Used in Java mapping usually.
Regards
Soumen...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.