On Jul 10, 2006, at 4:05 PM, Joao wrote:
I 've used the below code to set a a chainfilter . Unfortunately,It is not working properly. I mean the filter has not been activatedwhen the acceptor receives a message.What should I do to activate a filter for all sessions? IoAcceptorConfig config = new DatagramAcceptorConfig(); DefaultIoFilterChainBuilder chain = config.getFilterChain();final ConcurrentMap <SocketAddress, Message> activeMessageList = new ConcurrentHashMap<SocketAddress, Message>();chain.addFirst( "logger", new LoggingFilter() ); chain.addLast( "myFilter", new MyFilter() ); acceptor.bind( new InetSocketAddress( PORT ), new ConduitHandler( ), config);
This was recently reported and fixed in the svn trunk: https://issues.apache.org/jira/browse/DIRMINA-222 So, just work from an SVN checkout for the time being :) -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
