As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?
A.
{ port : p('db.port')}
B.
{ port : {db:port}}
C.
{ port : p['db.port']}
D.
Application property cannot be accessed in Dataweave
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit