czolbe:
From what I understand, an Inout Message is one where a response can be received from the destination.
However, I have not been able to find any example of how to convert a message to InOut type, and how to access the response from the destination
For example, given a route like:
from("direct:start").to("smtps://smtp.gmail.com:[email protected]&password=usrpw&[email protected]")
- How to convert the message routed to smtps component into InOut type?
- Can I expect a response from the smtp component, e.g. indicating that the message was sent successfully?
- how to access this response?
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots