org.jboss.messaging.core.remoting
Interface Interceptor


public interface Interceptor

This is class is a simple way to intercepting server calls on JBoss Messaging. To Add this interceptor, you have to modify jbm-configuration.xml

Author:
clebert.suconic@jboss.com, tim.fox@jboss.com

Method Summary
 boolean intercept(Packet packet, RemotingConnection connection)
           
 

Method Detail

intercept

boolean intercept(Packet packet,
                  RemotingConnection connection)
                  throws MessagingException
Parameters:
packet -
connection -
Returns:
true to process the next interceptor and handle the packet, false to abort processing of the packet
Throws:
MessagingException


Copyright © 2006 JBoss Inc. All Rights Reserved.