Are you using the same or different sessions? A session is 
singlethreaded. If you use one subscriber and one publisher concurrently 
in different threads, you must have 2 sessions for that.

-- 
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com


-----Original Message-----
From: fred <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Mon, 18 Dec 2000 12:56:01 +0100
Subject: [developers] Blocking call to publish

> 
> I make a publish method call which never returns.
> I made a session with a filtered-durable subscriber and a publisher.
> And i have an infinite loop which is waiting synchronous delivery of
> message (with a receive call).
> In the same time in another thread i publish using :
> publish(textmsg, DeliveryMode.PERSISTENT, Message.DEFAULT_PRIORITY,
> Message.DEFAULT_TIME_TO_LIVE);
> 
> I test this code with another JMS server and it worked fine.
> Perhaps, i didn't strictly follow the specification, but i saw no
> reference to a blocking call in it.
> 
> If anyone knows which states implies a blocking call ?
> 
> 
> ------------------------------------------------------
> 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