0

i am using apache camel to convert image url to binary data. because of security area, i cant download image file directly so i have to use camel using download file. Client is spring boot.

Server send this binary data and client receive it.and download image file on that client folder.

but how can i handle binary data? i want to download image file between spring boot client and Apache camel

here is my process enter image description here

james
  • 235
  • 2
  • 5
  • 11
  • Sorry, but I don't understand your question. Are you asking how to save the binary data? Who is using Camel in your scenario? The client or the server or both of them? And is your problem on the client or the server side? Please elaborate your question by using the "edit" link below the question. Thanks – burki Sep 24 '18 at 13:51
  • I edited my question. Sever send only binary data and client receive it and download file – james Sep 25 '18 at 01:05
  • Is it correct that your SpringBoot client currently makes an HTTP request to the server and receives the binary image data? And you ask how to save that image data on the client into a file? – burki Sep 25 '18 at 07:14
  • Yes.that's it. I am sorry to bother you and i am not good at english – james Sep 25 '18 at 07:30
  • No problem. But you should add the code of your SpringBoot client that calls the server and tries to save the image to your question. And if you get an Exception, add it also. Or if you don't get an Exception try to explain the detailed problem you encounter (for example your code saves the image, but afterwards the image is not present in the filesystem). We can only help you if you help us to understand your situation/problem. – burki Sep 25 '18 at 08:38

0 Answers0