Beautiful. I followed your steps and everything worked the first time! You gave a number of insights that were essential to solving the problem but perhaps the most important key was in your post #12...
Type: Posts; User: w2m; Keyword(s):
Beautiful. I followed your steps and everything worked the first time! You gave a number of insights that were essential to solving the problem but perhaps the most important key was in your post #12...
Disjoint adapters are being used on the server.
To replace these with an inbound gateway, would I use the same approach to configuring it as I used with the outbound gateway? Is there a need to...
Hi Again,
I made all the changes and the code is working half way. With the gateway, I can send a message and the server picks it up and generates a reply. However, the gateway never picks up the...
Yes, of course, use the declared interface! It makes for an elegant design!
Thanks again!
Very cool. Thanks for this. It will simplify the client code. The client code is also a bean. It must be possible for it to be injected with the reference to the gateway? What type would I use?...
Hi Gary,
Your suggestion looks really neat (and is not one I would have considered). I've looked at the sample code and can define the following:
<channel id="myOutboundChannel"/>
<channel...
Hi Gary,
Thanks for your reply. I should clarify the scenario. I have a client/server application. The server is implemented using the service-activator component as well as relying on Spring to...
Greetings,
How can a Java program read from a message-driven-channel-adapter?
I have declared the following outbond-channel-adapter:
<channel id="myOutboundChannel"/>...
Hi Oleg,
The brokerURL that you are using is vm://localhost and I'm using tcp://remotehost. Would that make a difference in the creation of the activemq-data folder?
Hi Oleg,
I did a search for activemq-data on both the client and server machines and found no matches.
If a corrupted directory is the problem, then the Spring Integration code that I have...
I removed the "default-reply-channel" but got the same result.
I am using ActiveMQ.
I increased the timeout to 15 seconds and set the server to only echo the request message (no business processing). The same timeout exception occurs.
With the original...
The server configuration did not change at all. The client configuration changed per Oleg's suggestion. The error message has always been the same (see below):
Client Configuration
<gateway...
Hi Oleg,
Thanks for your reply. I did what you suggested and, unfortunately, got the same results. I originally did not have the gateway but only the jms:outbound-gateway and got the timeout...
Hi Mark! Yes, I'm using JMS. Here are the configuration elements:
Server side (inbound-gateway):
<beans:bean id="manager" class="business.Manager"/>
<jms:inbound-gateway id="jmsin"...
I am using a using an outbound gateway in a request/reply scenario. I am able to send one request and receive the reply. Efforts to send a second request results in a MessageTimeoutException.
The...
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.
...