Questions tagged [mina]

Apache MINA is a network application framework which helps users develop high performance and high scalability network applications easily. It provides an abstract event-driven asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.

Apache MINA is, according to its website, a network application framework which helps users develop high performance and high scalability network applications easily. It provides an abstract event-driven asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.

Apache MINA is often called a(n):

  • NIO framework library,
  • client server framework library, or
  • networking socket library

Apache MINA comes with many sub projects:

  • Asyncweb: An HTTP server build on top of MINA asynchronous framework
  • FtpServer: An FTP server
  • SSHd: A Java library supporting the SSH protocol
  • Vysper: An XMPP server

References:

157 questions
0
votes
0 answers

Re-connecting fails with NioSocketConnector

ConnectFuture future = connector.connect(address); future.addListener(new IoFutureListener() { @Override ublic void operationComplete(ConnectFuture future) { try { if (future.isConnected()) when I connect…
dinesh707
  • 12,106
  • 22
  • 84
  • 134
0
votes
1 answer

mina server response port different from port incoming messages

I set up a server that receives messages over port xxx, but I want to respond to port yyy. Is there a simple way to achieve this? My server: IoAcceptor acceptor = new NioSocketAcceptor(); acceptor.setHandler(new MessageHandler()); …
0
votes
1 answer

Running Apache MINA and Netty within the same JVM

I need to run two services within my application. One is a text protocol based socket server and other is a http protocol based server. For the socket server I am using Apache MINA as the NIO Framework while for the http protocol I want to use the…
openmobster
  • 1,027
  • 5
  • 17
0
votes
2 answers

is there a way to cancel a key such that I can still read from it later with java nio

We would like get tcp flow control as a primary component of a new java nio library. It would work like this... library fires data to Listener.incomingData(DataChunk dataChunk); library will not fire any more data EVEN if there is any until…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
0
votes
1 answer

Apache Mina Serial Error: java.lang.NoSuchMethodError

I've worked days on an serial connection with Apache Mina. But I've had no luck. I've built a little test program and got this error back: Exception in thread "main" java.lang.NoSuchMethodError:…
David Le
  • 1
  • 2
-1
votes
2 answers

reading data from socket - no performance

I am creating an android service which is always running and listening messages from socket. But it doesn't work with good performance and i am looking for some nio alternative or tutorial. What is the best way for listening a socket for all time ?…
dracula
  • 4,413
  • 6
  • 26
  • 31
-2
votes
1 answer

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

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…
Tejas Patel
  • 89
  • 4
  • 16
1 2 3
10
11