Le 21/01/16 09:03, Deepak Bhutani a écrit :
> Hi Team,
>
> I am a beginner in using Apache MINA and stuck at one scenario where I am 
> sending messages to UDP device using  NioDatagramConnector. MINA instantly 
> throws java.net.PortUnreachableException if the receiving UDP server is not 
> running, However I was wondering that it would Poll target for some time 
> before failing.

There is no reason for MINA to poll the remote server if it's not up and
running : that would brak any application that is expecting to be
informed about teh fact that he remote server is down.

It's up to your application to actually deal with this use case : if you
get such an exception, you may want to wait and try again.

Reply via email to