org.apache.camel.ExchangeTimedOutException: The OUT message was not received within: 30000 millis

StackOverflow https://stackoverflow.com/questions/15517351

Question

I currently working on two FUSE project which is interconnected. so i've tried to send Datagram packet from one project to another project using apache Camel Mina udp endpoint with custom codec. My problem is that datagram packet is received by other project although it will throws the timeout exception in project1.

Please give me the Suggestion why it so happen and how to solve it????

Was it helpful?

Solution

You are doing request/reply over that transport. And the was no reply coming back, and so after 30 seconds, there is a timeout exception.

If you do not want to do request/reply but one-way instead, then configure the camel-mina component to sync=false.

And if you want to do request/reply you can raise the timeout to be higher than 30 seconds if you need more time.

See the camel-mina docs: http://camel.apache.org/mina

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top