com.ubikingenierie.console.apiconsole.jms
Interface IJmsMessageHolder


public interface IJmsMessageHolder

Interface that holds main JMS operations on a Message and Session:

Since:
5.0.1.0
Author:
Philippe Mouawad

Method Summary
 void acknowledgeMessage()
          Acknowledges all consumed messages of the thread bound session of this consumed message.
 void commitJmsSession()
          Commit JMS Session
 java.lang.Object getMappedData()
           
 Message getUnderlyingMessage()
           
 void rollbackJmsSession()
          Rollback JMS Session
 

Method Detail

acknowledgeMessage

void acknowledgeMessage()
                        throws JMSException
Acknowledges all consumed messages of the thread bound session of this consumed message. All messages consumed by the session are acknowledged.

Throws:
JMSException
See Also:
Message}

getMappedData

java.lang.Object getMappedData()
                               throws JMSException,
                                      MappingException
Returns:
Object Mapped object if a mapper was defined otherwise the underlying JMS Message.
Throws:
JMSException
MappingException
See Also:
IMessageMapper, NoMappingMapper

rollbackJmsSession

void rollbackJmsSession()
                        throws JMSException
Rollback JMS Session

Throws:
JMSException

commitJmsSession

void commitJmsSession()
                      throws JMSException
Commit JMS Session

Throws:
JMSException

getUnderlyingMessage

Message getUnderlyingMessage()
Returns:
Message


Copyright © 2005-2008 Ubik-Ingenierie. All Rights Reserved.