|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutboundBinding<E extends org.apache.camel.Endpoint,S,T>
Represents the binding of request and response types to an Exchange.
The request and response types are defined via the type parameters
S and T, respectively. The OutboundBinding is used
by Producer implementations to translate between Exchange
objects and protocol-specific or services-specific messages.
| Method Summary | |
|---|---|
org.apache.camel.Exchange |
readResponse(E endpoint,
org.apache.camel.Exchange exchange,
T response)
Populates an Exchange from response data and endpoint configuration data. |
S |
writeRequest(E endpoint,
org.apache.camel.Exchange exchange,
S request)
Creates or populates a request object from Exchange and endpoint configuration data. |
| Method Detail |
|---|
S writeRequest(E endpoint,
org.apache.camel.Exchange exchange,
S request)
throws Exception
Exchange and endpoint configuration data.
endpoint - endpoint providing binding-relevant information.exchange - exchange to read data from.request - request to be populated or created (if null) from exchange data.
Exception
org.apache.camel.Exchange readResponse(E endpoint,
org.apache.camel.Exchange exchange,
T response)
throws Exception
Exchange from response data and endpoint configuration data.
endpoint - endpoint providing binding-relevant information.exchange - exchange to be populated or created (if null) from response data.response - response to read data from.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||