I had commented out the line “System.out.println(iPublishPacket.);”, so that is not the reason why I was getting compilation error’s.
My code is identical to what you have provided and yet I cannot get the “getPayload()” method and also compilation fails with the line :
final PublishPacket iPublishPacket = publishInboundInput.getPublishPacket();
The following is the import’s in the file
I am continuing to debug. But request you to please verify and let me know why I am not getting the “getPayload()" method and why the program is failing to compile…
I did think about using Intellij but I am comfortable with VS code, so did not install it.
Appreciate your help.