Update: Working sample for Java SDK using RawMessage