[openamq-dev] Help on Openamq required

Martin Sustrik sustrik at imatix.com
Thu Aug 16 14:56:50 CEST 2007


Mousami,

> As mentioned in my earlier mail i am following the sequence of first 
> sending message using sendtest.c which i have attached in my previous 
> mail and then trying to receive it. Also I am sending only 1 message and 
> not sending messages continuously using while loop.
> In this scenario the receive application that i am using should receive 
> this 1 message atleast?

If you want to recevie exactly 1 message, wait till it arrives, then 
retrieve it:

     amq_client_session_wait (session, -1);
     content = amq_client_session_arrived (session);

> Can you please give me im_send.pal since  the one which is provided in 
> the package(im_send.pal) is not generating .c code.

I am not sure about this problem. I have to check with my colleagues.

Martin


More information about the openamq-dev mailing list