on 2021 May 27 6:55 PM
container.getTransformationParameters() seems to be deprecated. IS there a way to replace it in
DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
Request clarification before answering.
Hi Praveen,
should be:
DynamicConfiguration conf1 = (DynamicConfiguration)all.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
check out my blog for an example:
https://blogs.sap.com/2014/12/18/pi-rest-adapter-using-dynamic-attributes/
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could also just replace it with:
DynamicConfiguration conf =
(DynamicConfiguration)container.getInputParameters().getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.