Re: Apache Mina getting response from remote tcp server

2014-10-09 Thread jkab016
Thanks for your reply. Ideally I realized the code works. The issue is that the server expects more than one exchanges-one to open up the port. So if I fire two messages, I am able to get the right response. the trick is to send two messages in a loop; the first message being a fake message and the

Re: Apache Mina getting response from remote tcp server

2014-10-09 Thread Willem Jiang
Can you using ProducerTemplate to send the message instead of using Producer directly? BTW, you need start the camel context before staring the Producer. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Tw