Adjust BrowsableEndpoint with option to dictate if message body can be omitted ------------------------------------------------------------------------------
Key: CAMEL-4340 URL: https://issues.apache.org/jira/browse/CAMEL-4340 Project: Camel Issue Type: Improvement Components: camel-core Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.9.0 If an endpoint is browsable, then it implements the BrowsableEndpoint interface. It currently has this API {code} List<Exchange> getExchanges(); } {code} We should improve the API by adding a boolean to indicate the message body can be omitted. For example if the body is not really needed. Or if loading the body could potentially consume a lot of memory etc. {code} List<Exchange> getExchanges(boolean omitMessageBodyAllowed); } {code} We could also go a bit further and allow an API to query depth size, return a range, return an iterator, etc. We can keep the old API to be backwards compatible and mark it as @deprecated. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira