It turns out I forgot to run start my connection.

Jonathan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oliver Sy
Sent: Wednesday, July 25, 2001 11:16 AM
To: [EMAIL PROTECTED]
Subject: [developers] Temporary Queues


Hello,

Maybe the timeout that you specified in the receive is
too short (5 milliseconds)? I also implemented request/reply.
The steps are:
1. create a temporary queue.
2. create a QueueReceiver for that temporary queue.
3. create a Message and setJMSReplyTo(temporaryQueue).
4. send the message.
5. QueueReceiver.receive(timeout).
6. destroy the temporaryQueue.

Hope this helps.

Oliver 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan
Kozolchyk
Sent: Wednesday, July 25, 2001 12:59 PM
To: [EMAIL PROTECTED]
Subject: [developers] Temporary Queues


Hello,

I seem to be having a problem with temporary queues in swift:

I have a service listening on a Permanent Queue ("LoginQueue"), which
receives messages from my client which include a TemporaryQueue which get
accessed by the Message.getJMSReplyTo() (which I cast into a Queue).  I can
see that the queue is received correctly on my server, but when I try to
respond on the temp queue, the server seems to send the message correctly
but the client that created the queue just hangs when it enters
queueReceiver.receive(5);

The queueReceiver is created via: queueSession.createReceiver(tempQ);

Is there anything else I should be doing/should know?

I'm still pretty new to JMS and would appreciate any help anyone could give
me.

Thanks,

Jonathan


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to