org.apache.axis2.transport.jms
Class JMSMessageReceiver

java.lang.Object
  extended by org.apache.axis2.transport.jms.JMSMessageReceiver

public class JMSMessageReceiver
extends java.lang.Object

This is the JMS message receiver which is invoked when a message is received. This processes the message through the engine


Method Summary
 boolean onMessage(javax.jms.Message message, javax.transaction.UserTransaction ut)
          Process a new message received
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

onMessage

public boolean onMessage(javax.jms.Message message,
                         javax.transaction.UserTransaction ut)
Process a new message received

Parameters:
message - the JMS message received
ut - UserTransaction which was used to receive the message
Returns:
true if caller should commit


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.