Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

How to do concatenation of string in UDF

$
0
0

I have following udf code.


String MessageID;

java.util.Map param = container.getTransformationParameters();

MessageID = (String) param.get (StreamTransformationConstants.MESSAGE_ID);

return MessageID;


In above mentioned code string variable MessageID having value 500 and returning value, after execution of

this code. But requirement is value will return like (500) instead of 500. How to concatenate "(" and ")"  with string MessageID.

So value will come like - (500).


Thanks

Mrityunjoy


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>