Re: MamdaSubscription question - no updates for MAMA_MSG_TYPE_UPDATE


Mark O'Callaghan
 

Russell,

Take a look at mamda/c_cpp/src/examples/mamdapublisher.cpp
(specifically MamdaPublisher::addMamaHeaderFields).

I think your issue is that you need to add more header fields, afaik
at a minimum you need the message type and the message status
(although it could be more).

Mark

On 18 July 2012 17:51, Russell Aidan (Ext. - UniCredit Business
Integrated Solutions) <aidan.russell.extern@...> wrote:
Hi,

I wonder if anyone has come across this MAMDA publisher/listener behaviour ?

I wrote a simple test MAMDA listener and publisher. In the listener I create
a simple MamdaSubscription, using defaults for subscription-type and service
(NORMAL & REAL_TIME).

In my test publisher I send an update message for the subscribed symbol from
a timer. However the client listener receives only messages with msgType
MAMA_MSG_TYPE_INITIAL; messages with msgType MAMA_MSG_TYPE_UPDATE do not
invoke the onMsg callback. I set the msgType in the send message using fid
1.

regards,

Aidan Russell
Quoting Systems Development
Unicredit

0049 89 378 12843




_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
https://lists.openmama.org/mailman/listinfo/openmama-dev

Join Openmama-dev@lists.openmama.org to automatically receive all group messages.