I thought that i had provided all the details.
We have a solace server and executionreport.proto to use by both publisher app to send msg to solace server and subscriber to get the msg from solace server.
- In executionreport.proto,
we message ExecutionReport {
string id=1;
…
google.protobuf.Timestamp transactTime = 6;
} - ./protoc -I=. --cpp_out=. executionreport.proto.
- In protobufmessage.h we have class ExecutionReportMessage
{
public:
string id;
…
time t transactTime;
} - In publisher app, we setup transactTime = 1621435475, id = ABC. In subscriber app, we get transactTime = 1140723368189072, id = ABC… NOT transactTime = 1621435475… do you know why? because id = ABC is correct on subscriber. Why transactTime is not Correct? Also, all the other fields are correct except transactTime… It seems that google.protobuf.Timestamp doesn’t work well here.
Let me know what else you’re not clear.
Thanks,