Version 2

    JBoss/JMS Message

     

    Need implementations of JMS messages

     

    • javax.jms.Message
    • javax.jms.BytesMessage
    • javax.jms.MapMessage
    • javax.jms.ObjectMessage
    • javax.jms.StreamMessage
    • javax.jms.TextMessage

     

    Also need implemention of the Message Selector.

     

    NOTES

     

    • The SpyMessage and selector implementations are a good starting point for implementation details.

    • There should be a factory to allow alternate implementations to be used.

    • Implement message header and message properties as separate objects.

    • Need to include an optimization where the message body stays as a

      byte[]

      on the server, i.e. no unnecessary serialize/deserialize.

    • Need to have an estimate of message size in memory for the caching implementation.

    • Need to look at an optimized serialization rather than using Object serialization (for performance reasons).