public class DefaultExecMarshaler extends java.lang.Object implements ExecMarshalerSupport
Default exec marshaler that use JAXB to marshal and unmarshal exec objects.
| Constructor and Description |
|---|
DefaultExecMarshaler() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(ExecResponse execResponse,
javax.jbi.messaging.NormalizedMessage out)
Marshal an
ExecResponse into the out NormalizedMessage. |
ExecRequest |
unmarshal(javax.jbi.messaging.NormalizedMessage in)
Unmarshal the content of the in
NormalizedMessage to an ExecRequest. |
public ExecRequest unmarshal(javax.jbi.messaging.NormalizedMessage in) throws java.lang.Exception
ExecMarshalerSupport
Unmarshal the content of the in NormalizedMessage to an ExecRequest.
unmarshal in interface ExecMarshalerSupportin - the in message.java.lang.Exception - in case of unmarshalling error.public void marshal(ExecResponse execResponse, javax.jbi.messaging.NormalizedMessage out) throws java.lang.Exception
ExecMarshalerSupport
Marshal an ExecResponse into the out NormalizedMessage.
marshal in interface ExecMarshalerSupportexecResponse - the exec response.out - the out message.java.lang.Exception - in case of marshalling error.Copyright © 2005-2014 FuseSource. All Rights Reserved.