I have a Java application that sets a listener on a queue, the onMessage(Message)
gets a subclass of javax.jms.TextMessage
, how can i make it get a subclass of javax.jms.BytesMessage
Note: I don't have access to the application that sends the messages.