|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProducerTemplate<E extends Exchange>
Method Summary | |
---|---|
E |
request(Endpoint<E> endpoint,
Processor processor)
Send the body to an endpoint returning any result output body |
E |
request(String endpoint,
Processor processor)
Send the body to an endpoint returning any result output body |
Object |
requestBody(Endpoint<E> endpoint,
Object body)
Send the body to an endpoint returning any result output body |
Object |
requestBody(String endpoint,
Object body)
Send the body to an endpoint returning any result output body |
Object |
requestBodyAndHeader(Endpoint<E> endpoint,
Object body,
String header,
Object headerValue)
Send the body to an endpoint returning any result output body |
Object |
requestBodyAndHeader(String endpoint,
Object body,
String header,
Object headerValue)
Send the body to an endpoint returning any result output body |
E |
send(E exchange)
Sends the exchange to the default endpoint |
E |
send(Endpoint<E> endpoint,
E exchange)
Sends the exchange to the given endpoint |
E |
send(Endpoint<E> endpoint,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied |
E |
send(Endpoint<E> endpoint,
Processor processor)
Sends an exchange to an endpoint using a supplied |
E |
send(Processor processor)
Sends an exchange to the default endpoint using a supplied |
E |
send(String endpointUri,
E exchange)
Sends the exchange to the given endpoint |
E |
send(String endpointUri,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied |
E |
send(String endpointUri,
Processor processor)
Sends an exchange to an endpoint using a supplied |
Object |
sendBody(Endpoint<E> endpoint,
ExchangePattern pattern,
Object body)
Send the body to an endpoint with the given ExchangePattern
returning any result output body |
Object |
sendBody(Endpoint<E> endpoint,
Object body)
Send the body to an endpoint |
Object |
sendBody(Object body)
Sends the body to the default endpoint and returns the result content |
Object |
sendBody(String endpointUri,
ExchangePattern pattern,
Object body)
Send the body to an endpoint |
Object |
sendBody(String endpointUri,
Object body)
Send the body to an endpoint |
Object |
sendBodyAndHeader(Endpoint endpoint,
ExchangePattern pattern,
Object body,
String header,
Object headerValue)
Sends the body to an endpoint with a specified header and header value |
Object |
sendBodyAndHeader(Endpoint endpoint,
Object body,
String header,
Object headerValue)
Sends the body to an endpoint with a specified header and header value |
Object |
sendBodyAndHeader(Object body,
String header,
Object headerValue)
Sends the body to the default endpoint with a specified header and header value |
Object |
sendBodyAndHeader(String endpoint,
ExchangePattern pattern,
Object body,
String header,
Object headerValue)
Sends the body to an endpoint with a specified header and header value |
Object |
sendBodyAndHeader(String endpointUri,
Object body,
String header,
Object headerValue)
Sends the body to an endpoint with a specified header and header value |
Object |
sendBodyAndHeaders(Endpoint endpoint,
Object body,
Map<String,Object> headers)
Sends the body to an endpoint with the specified headers and header values |
Object |
sendBodyAndHeaders(Object body,
Map<String,Object> headers)
Sends the body to the default endpoint with the specified headers and header values |
Object |
sendBodyAndHeaders(String endpointUri,
Object body,
Map<String,Object> headers)
Sends the body to an endpoint with the specified headers and header values |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Method Detail |
---|
E send(E exchange)
exchange
- the exchange to sendE send(Processor processor)
processor
- the transformer used to populate the new exchange
Processor
to populate the exchangeObject sendBody(Object body)
body
- the body to send
Object sendBodyAndHeader(Object body, String header, Object headerValue)
body
- the payload sendheader
- the header nameheaderValue
- the header value
Object sendBodyAndHeaders(Object body, Map<String,Object> headers)
body
- the payload send
E send(String endpointUri, E exchange)
endpointUri
- the endpoint URI to send the exchange toexchange
- the exchange to sendE send(String endpointUri, Processor processor)
endpointUri
- the endpoint URI to send the exchange toprocessor
- the transformer used to populate the new exchange
Processor
to populate the exchangeE send(String endpointUri, ExchangePattern pattern, Processor processor)
endpointUri
- the endpoint URI to send the exchange topattern
- the message ExchangePattern
such as
ExchangePattern.InOnly
or ExchangePattern.InOut
processor
- the transformer used to populate the new exchange
Processor
to populate the exchangeE send(Endpoint<E> endpoint, E exchange)
endpoint
- the endpoint to send the exchange toexchange
- the exchange to sendE send(Endpoint<E> endpoint, Processor processor)
endpoint
- the endpoint to send the exchange toprocessor
- the transformer used to populate the new exchange
Processor
to populate the exchangeE send(Endpoint<E> endpoint, ExchangePattern pattern, Processor processor)
endpoint
- the endpoint to send the exchange topattern
- the message ExchangePattern
such as
ExchangePattern.InOnly
or ExchangePattern.InOut
processor
- the transformer used to populate the new exchange
Processor
to populate the exchangeObject sendBody(Endpoint<E> endpoint, Object body)
endpoint
- body
- = the payload
Object sendBody(String endpointUri, Object body)
endpointUri
- body
- = the payload
Object sendBody(Endpoint<E> endpoint, ExchangePattern pattern, Object body)
ExchangePattern
returning any result output body
endpoint
- body
- = the payloadpattern
- the message ExchangePattern
such as
ExchangePattern.InOnly
or ExchangePattern.InOut
Object sendBody(String endpointUri, ExchangePattern pattern, Object body)
endpointUri
- pattern
- the message ExchangePattern
such as
ExchangePattern.InOnly
or ExchangePattern.InOut
body
- = the payload
Object sendBodyAndHeader(String endpointUri, Object body, String header, Object headerValue)
endpointUri
- the endpoint URI to send tobody
- the payload sendheader
- the header nameheaderValue
- the header value
Object sendBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue)
endpoint
- the Endpoint to send tobody
- the payload sendheader
- the header nameheaderValue
- the header value
Object sendBodyAndHeader(Endpoint endpoint, ExchangePattern pattern, Object body, String header, Object headerValue)
endpoint
- the Endpoint to send topattern
- the message ExchangePattern
such as
ExchangePattern.InOnly
or ExchangePattern.InOut
body
- the payload sendheader
- the header nameheaderValue
- the header value
Object sendBodyAndHeader(String endpoint, ExchangePattern pattern, Object body, String header, Object headerValue)
endpoint
- the Endpoint URI to send topattern
- the message ExchangePattern
such as
ExchangePattern.InOnly
or ExchangePattern.InOut
body
- the payload sendheader
- the header nameheaderValue
- the header value
Object sendBodyAndHeaders(String endpointUri, Object body, Map<String,Object> headers)
endpointUri
- the endpoint URI to send tobody
- the payload send
Object sendBodyAndHeaders(Endpoint endpoint, Object body, Map<String,Object> headers)
endpoint
- the endpoint URI to send tobody
- the payload send
E request(Endpoint<E> endpoint, Processor processor)
endpoint
- processor
- the processor which will populate the exchange before sending
Object requestBody(Endpoint<E> endpoint, Object body)
endpoint
- body
- = the payload
Object requestBodyAndHeader(Endpoint<E> endpoint, Object body, String header, Object headerValue)
endpoint
- body
- = the payloadheader
- headerValue
-
E request(String endpoint, Processor processor)
endpoint
- processor
- the processor which will populate the exchange before sending
Object requestBody(String endpoint, Object body)
endpoint
- body
- = the payload
Object requestBodyAndHeader(String endpoint, Object body, String header, Object headerValue)
endpoint
- body
- = the payloadheader
- headerValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |