Re: Is Message object in arugment of onMessage under the 'cms' namespace

2015-08-27 Thread Timothy Bish
On 08/27/2015 12:55 PM, Chaomei Lo wrote: > That was exactly I did, however, the consumer did not get what the producer > sent. Is there any other thing cause it ? > > Thanks. > > On Wed, Aug 26, 2015 at 5:22 PM, Timothy Bish wrote: If sending and receiving from Topics remember that the consumer

Re: Is Message object in arugment of onMessage under the 'cms' namespace

2015-08-27 Thread Chaomei Lo
That was exactly I did, however, the consumer did not get what the producer sent. Is there any other thing cause it ? Thanks. On Wed, Aug 26, 2015 at 5:22 PM, Timothy Bish wrote: > On 08/26/2015 08:13 PM, Chaomei Lo wrote: > > Thanks, Tim. > > > > Let me rephrase my question - is the Message c

Re: Is Message object in arugment of onMessage under the 'cms' namespace

2015-08-26 Thread Timothy Bish
On 08/26/2015 08:13 PM, Chaomei Lo wrote: > Thanks, Tim. > > Let me rephrase my question - is the Message class in the argument of > onMessage(...) under the 'cms' namespace ? So that I can write 'const > cms::Message* message' in below. That was what I used, but not work > properly. All CMS AP

Re: Is Message object in arugment of onMessage under the 'cms' namespace

2015-08-26 Thread Chaomei Lo
Thanks, Tim. Let me rephrase my question - is the Message class in the argument of onMessage(...) under the 'cms' namespace ? So that I can write 'const cms::Message* message' in below. That was what I used, but not work properly. // Called from the consumer since this class is a registered Me

Re: Is Message object in arugment of onMessage under the 'cms' namespace

2015-08-26 Thread Timothy Bish
On 08/26/2015 07:37 PM, mfan wrote: > I have constructed a customized Consumer class with the following line > (declare onMessage(..) in Consumer.hpp. > > /virtual void onMessage(const Message* message); > / > > I do not want to have "using namespace xxx" in header, so I need to identify > which M