Universal Messaging Java - Universal Messaging Events
Each nConsumeEvent object has an nEventAtrributes object associated with it which contains all available meta data associated with the event
Constructing an Event
In this Javacode snippet, we construct our Universal Messaging Event object (nConsumeEvent), and, in this example, passa byte array data into the constructor:
nConsumeEvent evt = new nConsumeEvent( "String", "Hello World".getBytes() );