Do you mean posting multipart form? This thread may help:
http://camel.465427.n5.nabble.com/Camel-2-12-1-How-to-send-Http-post-with-an-attachment-using-ProducerTemplate-td5752217.html
On 10/17/2016 03:51 AM, sai wrote:
Hello,
How can i post Json file as an attachment to the Rest
I am trying to handle all the exception use cases of SFTP for logging purposes.
In case user has given invalid Port address for sftp server even when using
pollStrategy attribute ->
1) We are not able to get the exception back in the code.
2) Exchange comes back null.
3) Associated below code
Hello,
How can i post Json file as an attachment to the Rest web-service call
(https4)? Also, after my Json request hits the web-service, it should return
a Json response.
I would really appreciate for the help. Please give me the links if
possible!
Thanks,
Sai
--
View this message in
Unfortunately, I can't share work code, but you can check examples from
test code:
https://github.com/apache/camel/blob/52a739feb9da8acd29067304c7c8356bbc5ef4dd/components/camel-avro/src/test/resources/org/apache/camel/dataformat/avro/springDataFormat.xml
Сб, 15 жовт. 2016 о 04:20 owain
Hi helenlok,
CXF uses a bus to pick up the configuration from spring, if the camel-cxf
endpoint doesn’t have the bus you may have the trouble to set the client
configuration from spring.
http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: