org.jboss.messaging.ra.inflow
Class JBMMessageHandler

java.lang.Object
  extended by org.jboss.messaging.ra.inflow.JBMMessageHandler
All Implemented Interfaces:
MessageHandler

public class JBMMessageHandler
extends java.lang.Object
implements MessageHandler

The message handler

Version:
$Revision: $
Author:
Adrian Brock, Jesper Pedersen, Andy Taylor

Constructor Summary
JBMMessageHandler(JBMActivation activation, ClientSession session)
           
 
Method Summary
 void onMessage(ClientMessage message)
           
 void setup()
           
 void teardown()
          Stop the handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBMMessageHandler

public JBMMessageHandler(JBMActivation activation,
                         ClientSession session)
Method Detail

setup

public void setup()
           throws java.lang.Exception
Throws:
java.lang.Exception

teardown

public void teardown()
Stop the handler


onMessage

public void onMessage(ClientMessage message)
Specified by:
onMessage in interface MessageHandler


Copyright © 2006 JBoss Inc. All Rights Reserved.