Excerpt from apache site : 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.
Questions tagged [apache-mina]
303 questions
0
votes
2 answers
apache mina connection using spring
How could i connect to my server in Apache Mina using spring mvc xml configuration?
i have this configuration in my server

the bosxcz
- 91
- 3
- 13
0
votes
2 answers
Problems with maven apache mina pom.xml
I have following entries in my pom.xml.
org.apache.mina
mina-core
2.0.4
org.apache.mina
…

pavan
- 979
- 3
- 11
- 21
0
votes
1 answer
Pipe transfer blocks when writing object with small pipe size
I'm having a bit of problem with an example I'm currently testing. For some reason, the execution blocks when writing at oos.writeObject(new SimpleObject());, despite that fact that the pipe should transfer the data across, even (I'd assume) if it…

Chris Dennett
- 22,412
- 8
- 58
- 84
0
votes
1 answer
Identify if the session is idle and flush in Decoder with Mina?
I am using Apache Camel in conjunction with Apache Mina to have a TCP Server. I am using a specific protocol decoder in my code. In this decoder, I am waiting to get X amount of bytes before I send them downstream to the route.
I would like to…

hveiga
- 6,725
- 7
- 54
- 78
0
votes
1 answer
startTLS in apache mina without clientside authentication
I am trying to implement startTLS in apache Mina taking following reference.
http://mina.apache.org/mina-project/apidocs/org/apache/mina/filter/ssl/SslFilter.html
My code is as follows:
@Override
public void messageReceived(IoSession session,…

userx
- 806
- 1
- 11
- 23
0
votes
1 answer
MINA: Is finishDecode where I send a response message?
In using Apache MINA, I'm sending a login request from the client, which is interpreted on the server via LoginRequestDecoder (implements org.apache.mina.filter.codec.demux.MessageDecoder).
I now want to send a response (LoginResponse) that includes…

Matt Huggins
- 81,398
- 36
- 149
- 218
0
votes
1 answer
Asynchronous communication in android
I am trying to integrate apacahe Mina in android.
Can we persist objects using AsyncTask & pass to UI or another class for further use?
for example
public class NetworkConnect extends AsyncTask{
@Override
…

userx
- 806
- 1
- 11
- 23
0
votes
1 answer
Reading byte stream from Mina.MessageReceived()
@Override
public void messageReceived(NextFilter nextFilter, IoSession session, Object message) throws Exception
{
}
I need to read the message as a byte stream. But it does not guarantee to have the full message is received. I need to discard the…

dinesh707
- 12,106
- 22
- 84
- 134
0
votes
1 answer
Apache MINA decoder classes explained
I'm currently digging into Apache MINA. It's a great framework with lots of capabilities. The hardest part until now was the decoder part. Checking the api documents I understand that there are the following classes that one can extend and implement…

Alkis Kalogeris
- 17,044
- 15
- 59
- 113
0
votes
3 answers
Implementing WebSocket on Spring MVC based Server
I searched a lot about implementing WebSocket/XMPP on Spring MVC based server but couldn't reach to a concrete answer. So here is my requirement
Receive a message from a client (in my case it will be a android/iOS mobile) via WebSocket/XMPP on…

Badal
- 4,078
- 4
- 28
- 28
0
votes
1 answer
Geronimo FTP Server on Fedora 19
I am trying to use the FTP server (factory) in Geronimo 3.0.1 on Fedora 19, in eclipse kepler. I have the following import which produces no error:
import org.apache.mina.*;
However, when I declare
FTPServerFactory ftpFactory;
FTPServer…

stuartw
- 120
- 4
0
votes
2 answers
Apache mina websocket communication
I have a problem with Apache mina and websocket communication.
The handshake works fine and I have a working connection with my server, but if my client sends a string to my server, the strings receive but I can't show them in console.
public void…

Norwido
- 51
- 1
- 7
0
votes
0 answers
Java - File Transfer FTP to Remote Server(Apache MINA)
I am implementing a Java program,
which has to connect to remote server
connected remote server should download a file from ftp
i am using Apache MINA lib's for this code
here is code, which connects to the remote server
public class…

MAHI
- 9,263
- 11
- 36
- 47
0
votes
2 answers
File Transfer using Apache MINA - Java
I have been working on a project, in which I have to send files from local system to my FTP-server. for this purpose I thought of using Apache MINA.
is Apache MINA can be implemented in this situation, any suggestion or help will be useful. thanks.

MAHI
- 9,263
- 11
- 36
- 47
0
votes
1 answer
Apache Mina Exception
i have followed this link for my example program using apache mina.
these are the lib files which i used with the code.
mina-core-2.0.7.jar
slf4j-api-1.7.5.jar
slf4j-jdk14-1.7.5.jar
i am getting the following error:
Exception in thread "main"…

MAHI
- 9,263
- 11
- 36
- 47