I need poll emails and then process the attachments.
I saw some code like this in RouterBuilder
<code>
from("direct:start")
.split(body())
.log("Split line ${body}")
.to("mock:split");
</code>
What i want to do is
<code>
from("email address")
.split(attachments())
.to("...");
</code>
Unfortunately, attachments() is not a method in BuilderSupport.
How can I do that? I want to avoid using
getExchange().getIn().getAttachments() those kind of API...
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Can-I-split-attachments-tp5715437.html
Sent from the Camel - Users mailing list archive at Nabble.com.