Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-27 Thread e271828
I have solved this problem for the time being. I first created a new message in parallel in C++, named BlobMessageLi, which is exactly the same as the original TextMessage, but just BlobMessageLi the name is different. My BlobMessageLi is not the same as the original BlobMessage, but it is the sa

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread e271828
I add a new message named blobmessageLi which like textmessage but not like original blobmessage, I add blobmessageli.h and cpp file whick like textmessage.h and cpp in cms directory. I add ActiveMQBlobMessageli.h and cpp file,ActiveMQBlobMessageMarshaller.h and cpp. And modify relational code,ID_A

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread e271828
I am a chinese.My english is not very good. I read this english by machine translating. -- View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726629.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Fwd: Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread Tim Bain
ish" Date: May 26, 2017 7:45 AM Subject: Re: BlobMessage in ActiveMQ-CPP by now 2017 To: "Tim Bain" Cc: On 05/26/2017 08:40 AM, Tim Bain wrote: > > That's not how I expected it would work. Every message ultimately gets > converted to the OpenWire protocol, no matter

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread Tim Bain
That's not how I expected it would work. Every message ultimately gets converted to the OpenWire protocol, no matter which language you use, so I assumed that methods with the same name in the different languages would translate to the same OpenWire content, but it sounds like that's not happening

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-25 Thread e271828
Both c++ and java have already implemente setStringProperty and getStringProperty. But I found that send blobmessage by useing the setStringProperty in c++ which can not been received by useing the getStringProperty in java. -- View this message in context: http://activemq.2283324.n4.nabble.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-25 Thread Tim Bain
One advantage of sending the URL via a blob message instead of just custom encoding it into a text message is that you don't have to write the custom encoding and decoding code. Java also has an ActiveMQBlobMessage class ( http://activemq.apache.org/maven/5.13.3/apidocs/org/apache/activemq/command

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
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::ActiveMQBlobMes

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP; type TForm1 = class(TForm) Button1: TButton; IdHTTP1: TIdHTTP; IdTCPClient1: TIdTCPClie

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
I can do as follow,and change the java to delphi and C++,but my manager do not agree do that. = package com.blob.activemq; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import jav