com.j_spaces.jms.utils
Interface IMessageConverter

All Known Implementing Classes:
ObjectMessage2ObjectConverter

public interface IMessageConverter

This interface is used by JMS layer to define what the JMS layer writes to the space.


Method Summary
 Object toObject(Message msg)
          The object returned by this method will be written to the space.
 

Method Detail

toObject

Object toObject(Message msg)
                throws JMSException
The object returned by this method will be written to the space.

Parameters:
msg - the JMS message to convert.
Returns:
the Object we want to write to the space.
Throws:
JMSException - if there was a problem during the conversion.