Dear all, Requesting your support in achieving the below. I have a method which has a custom object as a parameter. to run getter chain. I first need to cast the parameter into a Object Array and then Cast it into my POJO Class and then run the getter on it. How this can be Achieved. My Code Snippet Below. ClasssName: com.mj.common.mjServiceExecute Method: execute(com.mj.mjapi.mjmessage) public abstract class mjServiceExecute implements mjServiceExecuteintf { public mjmessage execute(mjmessage paramMjMessage) { mjmessage mjmjmesg = null; try { Object[] arrayOfObject = (Object[])paramMjMessage.getPayload(); MjHeaderVO mjhdrvo = (MjHeaderVO)arrayOfObject[0]; String str1 = mjhdrvo.getName(); } } I want to extract the value of str1 to split the business transaction. Requesting your assistance.
... View more