[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-1225 - PacketFilters implementation

timfox do-not-reply at jboss.com
Tue Jan 29 11:37:48 EST 2008


I think 


  | public void intercept(Packet packet, Handler handler, final Sender sender)
  | {
  |           handler.handle(packet, new Sender() {
  |                                                 public void send(Packet packet)
  |                                                  {
  |                                                     sentPacket = packet;
  |                                                     sender.sent(packet);
  |                                                  }
  |                                              };
  | }
  | 

Is way too complex.

I think we should keep it simple like the standard old interceptors.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124478#4124478

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124478



More information about the jboss-dev-forums mailing list