Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.transport
Interface MessageAdapterSerialization

All Known Implementing Classes:
  HttpMessageAdapter, JmsMessageAdapter, WriterMessageAdapter, XmppMessageAdapter

    public interface MessageAdapterSerialization

Not all `MessageAdapter`s can be serialized using the native Java serialization as their paylod is not `Serializable`. These message adapters can implement this interface to help with the serialization of the paylod: the raw bytes are persisted when the message adapter is serialized. Upon deserialization a `DefaultMessageAdapter` is created to hold this payload.

See Also:
  `DefaultMuleMessage.writeObject(ObjectOutputStream)`, `DefaultMuleMessage.readObject(ObjectInputStream)`

Nested Class Summary
`static class` | `MessageAdapterSerialization.Type`

Method Summary
`byte[]` | `getPayloadForSerialization()`

Method Detail

### getPayloadForSerialization

    byte[] getPayloadForSerialization()
                                      throws Exception

  Returns:
    The payload of this MessageAdapter as bytes.
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.