That did the trick.  By converting the sample code to Java I was able to see 
what it was doing.

It was defining the message variable as javax.jms.Message which doesn't have 
the correct methods.  When I explicitly defined/cast the message as 
ActiveMQBytesMessage then it worked.

Thanks



-----Original Message-----
From: Justin Bertram [mailto:[email protected]] 
Sent: Wednesday, February 26, 2020 10:35 AM
To: [email protected]
Subject: Re: Missing methods for ActiveMQBytesMessage

What happens if you receive the message in a Java client? Do you see the 
expected methods?

What JavaDocs are you looking at for reference?

FWIW, the code for the 5.7.0 version of ActiveMQBytesMessage is here [1].


Justin

[1]
https://github.com/apache/activemq/blob/activemq-5.7.0/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQBytesMessage.java


Reply via email to