Hi Amit,

Can you share your synapse configuration and carbon logs please.


---------- Forwarded message ----------
From: Amit Rajvanshi <[email protected]>
Date: Thu, Dec 15, 2016 at 3:56 PM
Subject: Image/PDF transfer
To: Malaka Silva <[email protected]>


Hi Malaka,



I again need your help, I need to pick Image and PDF file from one location
and transfer it to another location.

I am using inbound endpoint to do so and using below message builder and
formatter :



<messageBuilder class="org.wso2.carbon.relay.BinaryRelayBuilder"
contentType="image/jpg"/>

<messageBuilder class="org.wso2.carbon.relay.BinaryRelayBuilder"
contentType="application/pdf"/>



<messageFormatter class="org.wso2.carbon.relay.ExpandingMessageFormatter"
contentType="application/octet-stream"/>

<messageFormatter class="org.wso2.carbon.relay.ExpandingMessageFormatter"
contentType="image/jpg"/>





My file is getting picked up but transferred with 0 kb content. Could you
please suggest some solution ?



Best regards,
*Amit Rajvanshi*
Eperium Business Solutions(I) Pvt Ltd,
B-13, Sector 57,
Noida (U.P.) - 201301
Web: http://www.eperiumindia.com

[image: logo-eperium]

This message may contain confidential or legally privileged information. In
the event of any error in transmission, unauthorized recipients are
requested to contact the sender immediately and not to disclose or make use
of this information. No warranties or assurance are made or given as to the
accuracy of the information given or in relation to the safety of this
e-mail and any attachments. No liability whatsoever is accepted for any
consequences arising from this e-mail.





-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to