Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Changing apache camel message type to InOut

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


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Changing apache camel message type to InOut

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×