-
Jun 11th, 2010, 08:34 AM
#11
yes. Thank you again. Have a good weekend.
-
Jun 12th, 2010, 12:49 AM
#12
I had the same problem with consumer connections increasing and have solved that problem by changing the connectionFactory settings as previously suggested. I still experience a timeout, though.
My configuration is similar to the Client A and server described by 13yo, however, my scenario is different. I have Client A send a request with a message channel, wait for a reply, and when it arrives, send a second request on the same message channel. The first reply arrives with no problem. However, the second fails with a MessageTimeoutException. The second reply is on the message queue waiting to be read but for some reason the inbound-gateway isn't picking it up.
I use a ChannelResolver to obtain a MessageChannel which I then use to send a message. I have been sending the reply to stdout via an adapter.
The fact that I am able to consistently receive the first reply would seem to suggest that the wiring of the components is basically correct. Is my usage incorrect or is there some setting that is necessary for this scenario to work?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules