webflux-demo | Learning library
kandi X-RAY | webflux-demo Summary
kandi X-RAY | webflux-demo Summary
webflux-demo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the data
- Customizer for common tags
- Entry point for the application
- List of cities
webflux-demo Key Features
webflux-demo Examples and Code Snippets
Community Discussions
Trending Discussions on webflux-demo
QUESTION
Following the two links below I've created an IntegrationFlow which upon an error, calls into the custom errorFlow. However the behaviour I witness is that the application never replies to the client, it just hangs. How can I reply back to the request from the errorFlow? For reference I've hosted my sample on github.
...ANSWER
Answered 2020-Jun-29 at 20:49Turns out there is still a problem with that logic.
We need to investigate it more and figure out the fix.
Meanwhile you could use a workaround for your failing transformer with the ExpressionEvaluatingRequestHandlerAdvice
and handle error similar way in the errorFlow()
. See returnFailureExpressionResult
as true
. And your onFailureExpression
should be kinda a gateway call to that customErrorChannel
. Or you can use a MessagingTemplate.sendAndReceive()
API from that expression instead of gateway.
See more in docs: https://docs.spring.io/spring-integration/docs/current/reference/html/messaging-endpoints.html#message-handler-advice-chain
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install webflux-demo
You can use webflux-demo like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the webflux-demo component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page