At the moment, this is pretty much identical to the code in ReceiveDLR. It should probably be modified so that it extracts values specific to the payload object, and prints them out nicely - to differentiate the two.
For the moment, though, I've taken the path of least resistance and opted not to actually parse the incoming JSON (because that's horrible in Java, and I didn't want to have to define a Jackson object in quickstarts)
At the moment, this is pretty much identical to the code in ReceiveDLR. It should probably be modified so that it extracts values specific to the payload object, and prints them out nicely - to differentiate the two.
For the moment, though, I've taken the path of least resistance and opted not to actually parse the incoming JSON (because that's horrible in Java, and I didn't want to have to define a Jackson object in quickstarts)