Hi Horace,
On Nov 10, 2007 4:48 AM, Horace Pinker <[EMAIL PROTECTED]> wrote:
> i'm wondering if it is possible to use mina in a way so that outbound
> messages are bundled (ie max_bundle_size=4096 max_bundle_time=50(ms)) so that
> messages are sent only if one of the bundle criteria is fulfilled
Hi CigarMan,
On Nov 10, 2007 4:37 AM, CigarMan <[EMAIL PROTECTED]> wrote:
>
> Is there a way to cache TCP session (SocketConnector session) until some
> expiration delay times out so as to be able to reuse TCP connection instead
> of creating a new one each time? Is there a mechanism like IoSessio
I actually didn't understand what problem you are trying to fix. More
hints are appreciated.
Trustin
On Nov 13, 2007 3:26 AM, FredAtMina <[EMAIL PROTECTED]> wrote:
>
>
> No idea anyone ?
>
> Regards,
>
> Fred
>
>
>
> FredAtMina wrote:
> >
> > Hi all,
> >
> > I'm using mina in order to send / rec
I am sorry for the delayed fix. It has just been fixed now.
Thanks for your patience!
Trustin
On Nov 13, 2007 4:08 PM, bmarklein <[EMAIL PROTECTED]> wrote:
>
> OK, we're baffled. We somehow got this to build yesterday but when we tried
> to run we got:
>
> Invocation of init method failed; nest
On Nov 13, 2007 11:11 AM, Mike Heath <[EMAIL PROTECTED]> wrote:
> Is anyone else going to be attending ApacheCon US 2007 this year? I
> know Peter Royal is going to be presenting on MINA. Is anyone else from
> MINA coming and will you be at the Hackathon on Tuesday?
Not me unfortunately. Are yo
On Nov 12, 2007, at 9:11 PM, Mike Heath wrote:
Is anyone else going to be attending ApacheCon US 2007 this year? I
know Peter Royal is going to be presenting on MINA. Is anyone else
from
MINA coming and will you be at the Hackathon on Tuesday?
look for me tomorrow!
-pete
--
(peter.royal|o
OK, we're baffled. We somehow got this to build yesterday but when we tried
to run we got:
Invocation of init method failed; nested exception is
java.lang.NoSuchMethodError:
org.apache.mina.transport.socket.nio.NioSocketAcceptor.(ILjava/util/concurrent/Executor;)V
Caused by: java.lang.NoSuchMeth
On Nov 13, 2007 2:05 PM, Mike Heath <[EMAIL PROTECTED]> wrote:
> I really don't see a need to change the API to support a feature that
> few people will use. Using IoSessionDataStructureFactory to produce a
> priority queue provides the necessary flexibility to allow those who
> need this feature
I really don't see a need to change the API to support a feature that
few people will use. Using IoSessionDataStructureFactory to produce a
priority queue provides the necessary flexibility to allow those who
need this feature to implement it for their protocol as they see fit.
-Mike
Trustin Lee
Yes i do buffer the data before processing it. Thanks for your suggestion,
i'll check both of them out. one at a time :)
vishal
elihusmails wrote:
>
> I don't think I would, although it depends on the protocol and data.
> If it makes sense to buffer up the data, you might want to use a
> proto
I don't think I would, although it depends on the protocol and data.
If it makes sense to buffer up the data, you might want to use a
protocol encoder/decoder, then take the data and send it. You can try
with and without the queueing, but I bet you find better performance
with not queueing.
On
actually i create a new connection on connector2 when i need to send
something.
(i create a new instance of a class that would handle the connection for
connector2 .. which invokes connect() in its constructor; and when it
receives the response it closes the session)
So you think its not necessary
So you have data coming in on connector 1 and going out connector 2,
do you want connector 2 to always be the same instance? If so, then
you might need some type of queue in order to use the same connection.
Otherwise, I am not sure why you would need a queue.
On Nov 12, 2007 11:23 PM, Vishal_
Yes i did take a look at the proxy example and what i implemented is also
similar to that.
I have the following understanding of how Mina handles the request, please
correct me if am wrong.
The execution for each new message coming on one connector till it is
written onto the other connector happe
Looking at the JIRA entry, I agree with some of your earlier points.
I would not change IoService.write(). I do like the ability to add in
a WriteRequestQueue interface. This will make the implementation
cleaner and not require any changes to methods that many people
currently use and are familia
[
https://issues.apache.org/jira/browse/DIRMINA-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-372.
-
Resolution: Won't Fix
Assignee: Trustin Lee
I modified DemuxingIoHandler so it can take ca
Did you take a look at the proxy example? I this is may assist you in
developing a solution.
--Mark
On Nov 12, 2007 4:15 AM, Vishal_Jain <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Am implementing a proxy like system that has 2 connectors (taking on one end
> and transferring onto the other).
> w
[
https://issues.apache.org/jira/browse/DIRMINA-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-471.
-
Resolution: Fixed
I've just checked in the fix, but it depends on the new feature of MINA 2.0.
[
https://issues.apache.org/jira/browse/DIRMINA-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee updated DIRMINA-471:
Fix Version/s: (was: 1.0.8)
(was: 1.1.5)
2.0.0-M1
Is anyone else going to be attending ApacheCon US 2007 this year? I
know Peter Royal is going to be presenting on MINA. Is anyone else from
MINA coming and will you be at the Hackathon on Tuesday?
-Mike
One further question:
Once the SSL stuff gets figured out, I have one more issue with respect to
long running connections - we want to use a long running connection over
HTTPS, and send/receive messages asynchronously. In other words, the client
is not always initiating the request (although it w
update: it was a deadlock on my code... my bad!
thank you very much for the tip, with JConsole detecting it was trivial
On Nov 9, 2007 5:51 PM, Andres Martinez Quijano <[EMAIL PROTECTED]> wrote:
> Thanks for the tip! Now that I've set up the server and I can monitor
> it, obviously it doesn't free
Hi Trustin:
Thanks for the reply. I'm a bit outta my league when it comes to the SSL
stuff - never done much security, so enjoying this part of the learning
curve. But unable to make a connection between Safari (web browser) and this
little test app.
Here's the setup code:
IoAcceptor acceptor =
No idea anyone ?
Regards,
Fred
FredAtMina wrote:
>
> Hi all,
>
> I'm using mina in order to send / receive 1 byte at a time. I would like
> to use the IDLE timer so I can have this behavior:
> reset the READER_IDLE timer just after sending data, so the
> ioHandler.sessionIdle is called when
On Nov 5, 2007, at 10:03 PM, Vishal_Jain wrote:
Thats right.
I was wondering if someone in this forum has implemented a
connection pool
(not necessarily around Mina) and perhaps share with rest of newbies
like me
? :)
I have implemented a custom connection pool for my purposes.. Wrapping
On Oct 24, 2007, at 1:56 PM, Brian McCallister wrote:
A stronger approach would be to explicitly check the generic type
via reflection and raise an exception at bind() or connect() time.
In this case the In and Out types for the filter chain would be
compared for compatibility, and the final
On Sep 30, 2007, at 3:10 PM, Trustin Lee wrote:
A meta transport is a transport that wraps other transport
implementation(s) to implement a certain additional feature. For
example, we could implement automatic reconnection like the following:
really really late +1 :)
-pete
--
[EMAIL PROTECT
[
https://issues.apache.org/jira/browse/DIRMINA-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541833
]
Roger Kapsi commented on DIRMINA-473:
-
Yes I'm building MINA myself from trunk. Just to be sure, when I checkout
[
https://issues.apache.org/jira/browse/DIRMINA-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541822
]
Trustin Lee commented on DIRMINA-473:
-
BTW are you sure you are using the latest revision? I think I didn't dep
On Nov 12, 2007 10:08 PM, Bogdan Ciprian Pistol <[EMAIL PROTECTED]> wrote:
> Hello,
>
> In a IoHandler if I do:
>
> session.write(something);
> session.close( );
>
> Is it OK? It is possible that session.close( ) will be called in the
> middle of session.write(something)?
Not OK.
> Or I should do
[
https://issues.apache.org/jira/browse/DIRMINA-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee reopened DIRMINA-473:
-
Could you please provide some reproduceable application?
> ReadThrottleFilter throws IllegalStateEx
[
https://issues.apache.org/jira/browse/DIRMINA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee updated DIRMINA-474:
Assignee: Trustin Lee
Affects Version/s: (was: 2.0.0-M1)
> SimpleIoProcessorPool.
[
https://issues.apache.org/jira/browse/DIRMINA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-474.
-
Resolution: Fixed
Thanks for the report. The fix has just been checked in. :)
> SimpleIoProce
SimpleIoProcessorPool.flush() throws NullPointerException
-
Key: DIRMINA-474
URL: https://issues.apache.org/jira/browse/DIRMINA-474
Project: MINA
Issue Type: Bug
Components: C
[
https://issues.apache.org/jira/browse/DIRMINA-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541789
]
Roger Kapsi commented on DIRMINA-473:
-
Hi Trustin,
I'm unfortunately still getting the exception.
-Roger
Exc
Hello,
In a IoHandler if I do:
session.write(something);
session.close( );
Is it OK? It is possible that session.close( ) will be called in the
middle of session.write(something)?
Or I should do it like this:
session.write(something).join( );
session.close( );
Thanks,
Bogdan
After some undergo tests, my conclusion is that the write() operation to each
session is the one who gets the most cpu usage. My question is why ?
Is there a way i can avoid this usage on simple i/o operations ?
--
View this message in context:
http://www.nabble.com/Performance-problem-tf4783282
Hi All,
Am implementing a proxy like system that has 2 connectors (taking on one end
and transferring onto the other).
what i basically do in the MessageReceived routine of connector1 is call the
IoSession.write of connector2 and that in turn invokes the ProtocolDecoder
(yes am using a Protocol f
38 matches
Mail list logo