Given the code fragment:
How can you get all property names of a JMS message in the JMS consumer onMessage operation?
String [] props = msg.getPropertyNames();
Enumeration props = msg.getPropertyNames();С. Iterator props = msg.getPropertyNames();
List props = msg.getProperties();
Submit