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

Lookup component fails flow when no control message is received #924

Open
nrichardson99 opened this issue May 23, 2019 · 0 comments
Open

Comments

@nrichardson99
Copy link
Contributor

nrichardson99 commented May 23, 2019

When you have a flow with a lookup component and there is no message (not even a control) that is received by the component the code will throw a misconfigured exception. The message is actually a warning type of message 'The flow completed without the lookup datasource being populated. Please make sure that the lookup datasource is sending a control message'
Should this not fail the flow or should we handle no control message received and allow it because it is a valid scenario.

To re-create. Create a flow with a content router before a lookup that has a failure condition thus not sending any message to the lookup. The error is captured in the flowCompleted method in Lookup.java.
Also could recreate similarly through an embed flow where the router sending nothing is in the calling flow and the lookup is in the embedded flow.

@nrichardson99 nrichardson99 added this to the 3.4.4 milestone May 23, 2019
@nrichardson99 nrichardson99 removed this from the 3.4.4 milestone Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant