On Sun, 07 Oct 2012 18:00:49 +0200 Emmanuel Lécharny <elecha...@gmail.com> wrote:
> Le 10/7/12 2:19 PM, org.apache.mina.u...@io7m.com a écrit : > > Hello. > > > > I'm attempting to write a tiny example server based on MemoryMonitor, but > > for > > some reason, the server doesn't produce any output. The original > > MemoryMonitor > > server does work correctly, so presumably there's something subtly wrong > > with > > my program. > Your code is correct, and, yes, there is something subtile that make > your code not working. > > You have to add : > > future.awaitUninterruptibly(); > > just after this line in your UDPClient : > > final ConnectFuture future = > this.connector.connect(new InetSocketAddress("127.0.0.1", 2300)); Thank you! That is strange, yes. Bug filed: https://issues.apache.org/jira/browse/DIRMINA-911