Hi Danushka,
You certainly want to have a look at the request response sample:
Jave code is here:
qpid\java\client\example\src\main\java\org\apache\qpid\example\jmsexample\requestResponse
C++ code is here:
qpid\cpp\examples\request-response
Regards
Arnaud
----- "Danushka Menikkumbura" <[EMAIL PROTECTED]> wrote:
> > This is fine, messages sent by a c++ client can be consumed by a JMS
> client. You can easily try that scenario by running the qpid samples.
> For example, you can use the direct C++ producer to produce messages
> and the direct JMS listener to receive them.
> >
> Hi Arnaud,
>
> In my case it is request/response and the issue is with setting
> ReplyTo.
> I tried both getMessageProperties().setReplyTo and and
> getHeaders().setString("JMSReplyTo", "queue_name"), none of them works
>
> for me, though.
>
> Thanks,
>
> Danushka