activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e271828 <>
Subject Re: BlobMessage in ActiveMQ-CPP by now 2017
Date Thu, 25 May 2017 01:50:52 GMT
Thanks,now I know that C++ client can only send and receive the URL,can not
directly upload or download the blob file.
If so that ,why I use blobmessage in C++ ,I can use textmessage instead of
blobmessage,send and receive URL through by textmessae?
my  c++ code as follow:
commands::ActiveMQBlobMessage* message = new
 	message->setStringProperty( "FILE.NAME", "www.jpg" );
        producer->send( message );  
but my java code can not receive the  blobmessage StringProperty 
public void onMessage(Message message) {  
                if (message instanceof BlobMessage) {  
                    BlobMessage blobMessage = (BlobMessage) message;   
                    String fileName =
If it is textmessage,my java code can read the StringProperty  "FILE.NAME".
Does c++ send blobmessage which can only receive by C++ and can not receive
by java?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message