Message priorities

2007-11-05 Thread Kumaran Arul
Hi Is there a way to set message priorities? We have a situation where out of 10 different messages one of them has a higher SLA (Service Level Agreement) ? If not on the message level, can I set priorities on the Channel Level, we have two Channels (tow different ports) ? Arul Kumaran

RE: Message priorities

2007-11-05 Thread Kumaran Arul
-Original Message- From: Trustin Lee [mailto:[EMAIL PROTECTED] Sent: Tuesday, 6 November 2007 2:26 PM To: dev@mina.apache.org Subject: Re: Message priorities On 11/6/07, Kumaran Arul [EMAIL PROTECTED] wrote: Hi Is there a way to set message priorities? We have a situation where out of 10

RE: TIMEOUT on messageReceieved

2007-10-31 Thread Kumaran Arul
THE ENVIRONMENT BEFORE YOU PRINT THIS E-MAIL -Original Message- From: Kumaran Arul [mailto:[EMAIL PROTECTED] Sent: Wednesday, 31 October 2007 5:42 PM To: dev@mina.apache.org Subject: RE: TIMEOUT on messageReceieved Hi Trustin My sample code looks like ExecutorService

RE: TIMEOUT on messageReceieved

2007-10-30 Thread Kumaran Arul
October 2007 3:07 PM To: dev@mina.apache.org Subject: Re: TIMEOUT on messageReceieved On 10/31/07, Kumaran Arul [EMAIL PROTECTED] wrote: Hi Trustin said: You have to purge them manually Does this mean that I need to call executorService.shutdownNow(); In a finally {} block. Will this free up

TIMEOUT on messageReceieved

2007-10-22 Thread Kumaran Arul
Hi I have my business service method invoked from my messageReceived(IoSession session, Object message) of my implementation of the IoHandlerAdapter class. How can I timeout my service call using MINA? Is using java.util.concurrent.ScheduledThreadPoolExecutor the only way to go? Thanks

MINA server behind a load balancer

2007-10-17 Thread Kumaran Arul
Hi If you have 2 MINA servers behind a load balancer, is it possible to have keep-alive connections? Would the load balancer e.g. Alteon load balancer) maintain the existing connection or create new connections for every messag(s) Has anyone got experience with this Arul Kumaran Senior

IoService vs Executor filter thread pools

2007-10-15 Thread Kumaran Arul
Hi I am using MINA 1.1.2 and are there any thread blocking issues if I use separate thread pools and cached thread pool for the ioService and fixed thread pool for the executor filter. My server seem to be hanging. The reason to use fixed thread pool is to improve performance (i.e. to

MINA TCP/IP server clustering

2007-10-12 Thread Kumaran Arul
Hi Has anyone got any experience with clustering MINA servers at a JVM level? How can we replicate IoSessions? Would Terracotta be a good choice? Any lead or tips will be greatly appreciated? Regards Arul *** CAUTION: This email

RE: [Poll] Should we remove 'Io' from all interfaces?

2007-09-18 Thread Kumaran Arul
Io prefix: [X]: Retain them. Rename ByteBuffer to may be WrapperByteBuffer or ExtendedByteBuffer Arul Kumaran Senior Java/J2EE developer/designer http://www.lulu.com/java-success -Original Message- From: Maarten Bosteels [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 September 2007

RE: New name for ByteBuffer?

2007-09-18 Thread Kumaran Arul
IoBuffer seems to be really consistent other stuff and sounds great to me. Arul Kumaran Senior Java/J2EE developer/designer http://www.lulu.com/java-success -Original Message- From: Cameron Taggart [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 September 2007 6:52 AM To:

RE: Is Spring Integration of MINA recommended?

2007-07-17 Thread Kumaran Arul
From: Kumaran Arul [EMAIL PROTECTED] To: dev@mina.apache.org Sent: Tuesday, July 17, 2007 9:23:46 PM Subject: Is Spring Integration of MINA recommended? Hi Firstly, I am very impressed with the MINA as a whole. I just finished JMX enabling my server and it is a breeze. I have a working MINA

RE: Is Spring Integration of MINA recommended?

2007-07-17 Thread Kumaran Arul
a personal choice. I very much like using Spring to configure MINA. It has made adding filters and other configuration very easy. Rob - Original Message From: Kumaran Arul [EMAIL PROTECTED] To: dev@mina.apache.org Sent: Tuesday, July 17, 2007 9:23:46 PM Subject: Is Spring

RE: Is Spring Integration of MINA recommended?

2007-07-17 Thread Kumaran Arul
and other configuration very easy. Rob - Original Message From: Kumaran Arul [EMAIL PROTECTED] To: dev@mina.apache.org Sent: Tuesday, July 17, 2007 9:23:46 PM Subject: Is Spring Integration of MINA recommended? Hi Firstly, I am very impressed with the MINA as a whole. I just finished JMX

RE: profiler

2007-05-22 Thread Kumaran Arul
Hi I am using YourKit and quite impressed by it. Easy to setup and use. Arul Kumaran Website: http://www.lulu.com/java-success Senior Java/J2EE developer/designer Woolworths Limited P 02 8885 7528 E [EMAIL PROTECTED] 1 Woolworths Way Bella Vista, NSW 2153 PO Box 8000 Baulkham Hills, NSW

RE: Please help using MINA in a large mission critical project

2007-04-30 Thread Kumaran Arul
: Kumaran Arul Sent: Friday, 27 April 2007 11:42 AM To: 'dev@mina.apache.org' Subject: Please help using MINA in a large mission critical project Importance: High Hi Any hints will be really appreciated. I am using MINA 1.1.0 and carrying out some performance tests. When I

Please help using MINA in a large mission critical project

2007-04-26 Thread Kumaran Arul
THE ENVIRONMENT BEFORE YOU PRINT THIS E-MAIL -Original Message- From: Kumaran Arul Sent: Tuesday, 24 April 2007 6:32 PM To: 'dev@mina.apache.org' Subject: CPU usage 100% Importance: High Hi I am using MINA 1.1.0 and works well in Windows environment when I use 200

RE:Thread per CPU

2006-12-21 Thread Kumaran Arul
Hi Has anyone got a server code snippet for using MINA 1.0.1 to take advantage of the multi-processors. Does the following code seem okay? Thanks in advance. import java.net.InetSocketAddress; import org.apache.mina.common.DefaultIoFilterChainBuilder; import

RE: IoHandler Filter

2006-12-21 Thread Kumaran Arul
Hi I have a requirement where using filters to gunzip the request and gzip the response. I have my gunzip(..) logic in the messageReceived(...) callback on my compression fileter and where can I put mt my gzip(...) logic? I want to zip my content in the buffer prior to sending the response