Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INT-2570 Support url-expression on Outbound Http #458

Closed
wants to merge 2 commits into from

Conversation

garyrussell
Copy link
Contributor

Add url-expression as an alternative to url for outbound
http adapters. One of url or url-expression must be
provided (but not both).

The Message is the root object for the expression's
evaluation context; the bean factory can also be
used to resolve '@beanName' expressions.

Add url-expression as an alternative to url for outbound
http adapters. One of url or url-expression must be
provided (but not both).

The Message is the root object for the expression's
evaluation context; the bean factory can also be
used to resolve '@beanName' expressions.
Add note to the reference guide.
configureEvaluationContext(uriContext);
uriContext.setRootObject(requestMessage);
uri = (String) this.uriExpression.getValue(uriContext);
Assert.notNull(uri, "URI Expression cannot resolve to null");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"URI Expression cannot be resolved to null" ?

@garyrussell
Copy link
Contributor Author

Guys, thanks for a great review - much simpler now; see #459

Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants