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

[CAMEL-15187] fixes bug in camel-jsonpath StreamCache not reset #3913

Merged
merged 3 commits into from Jun 15, 2020
Merged

[CAMEL-15187] fixes bug in camel-jsonpath StreamCache not reset #3913

merged 3 commits into from Jun 15, 2020

Conversation

jam01
Copy link
Contributor

@jam01 jam01 commented Jun 14, 2020

When using jsonpath as a predicate in a CBR the StreamCache is not reset and therefore the content is lost. The first commit adds a failing JsonPathStreamCachingCBRTest which is just a copy of JsonPathCBRTest with streaming. The second commit adds StreamCache.reset()s wherever it seemed appropriate after content is read.

@davsclaus davsclaus merged commit d31761f into apache:master Jun 15, 2020
davsclaus pushed a commit that referenced this pull request Jun 17, 2020
* jsonpath: add failing test for StreamCache reuse

* jsonpath: reset StreamCache after use

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